mirror of
https://github.com/rancher/types.git
synced 2025-09-12 13:03:45 +00:00
generated changes
This commit is contained in:
committed by
Darren Shepherd
parent
39c12db4c2
commit
db3e1ba382
@@ -53,6 +53,10 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
in.(*AppStatus).DeepCopyInto(out.(*AppStatus))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&AppStatus{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AppUpgradeConfig).DeepCopyInto(out.(*AppUpgradeConfig))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&AppUpgradeConfig{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*BasicAuth).DeepCopyInto(out.(*BasicAuth))
|
||||
return nil
|
||||
@@ -149,6 +153,10 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
in.(*RegistryCredential).DeepCopyInto(out.(*RegistryCredential))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&RegistryCredential{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*RollbackRevision).DeepCopyInto(out.(*RollbackRevision))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&RollbackRevision{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*SSHAuth).DeepCopyInto(out.(*SSHAuth))
|
||||
return nil
|
||||
@@ -403,6 +411,29 @@ func (in *AppStatus) DeepCopy() *AppStatus {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *AppUpgradeConfig) DeepCopyInto(out *AppUpgradeConfig) {
|
||||
*out = *in
|
||||
if in.Answers != nil {
|
||||
in, out := &in.Answers, &out.Answers
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppUpgradeConfig.
|
||||
func (in *AppUpgradeConfig) DeepCopy() *AppUpgradeConfig {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(AppUpgradeConfig)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *BasicAuth) DeepCopyInto(out *BasicAuth) {
|
||||
*out = *in
|
||||
@@ -1093,6 +1124,22 @@ func (in *RegistryCredential) DeepCopy() *RegistryCredential {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *RollbackRevision) DeepCopyInto(out *RollbackRevision) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackRevision.
|
||||
func (in *RollbackRevision) DeepCopy() *RollbackRevision {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(RollbackRevision)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *SSHAuth) DeepCopyInto(out *SSHAuth) {
|
||||
*out = *in
|
||||
|
@@ -9,19 +9,21 @@ const (
|
||||
AppFieldAnnotations = "annotations"
|
||||
AppFieldAnswers = "answers"
|
||||
AppFieldAppRevisionId = "appRevisionId"
|
||||
AppFieldConditions = "conditions"
|
||||
AppFieldCreated = "created"
|
||||
AppFieldCreatorID = "creatorId"
|
||||
AppFieldDescription = "description"
|
||||
AppFieldExternalID = "externalId"
|
||||
AppFieldLabels = "labels"
|
||||
AppFieldLastAppliedTemplates = "lastAppliedTemplate"
|
||||
AppFieldName = "name"
|
||||
AppFieldNamespaceId = "namespaceId"
|
||||
AppFieldNotes = "notes"
|
||||
AppFieldOwnerReferences = "ownerReferences"
|
||||
AppFieldProjectId = "projectId"
|
||||
AppFieldPrune = "prune"
|
||||
AppFieldRemoved = "removed"
|
||||
AppFieldState = "state"
|
||||
AppFieldStatus = "status"
|
||||
AppFieldTargetNamespace = "targetNamespace"
|
||||
AppFieldTransitioning = "transitioning"
|
||||
AppFieldTransitioningMessage = "transitioningMessage"
|
||||
@@ -33,19 +35,21 @@ type App struct {
|
||||
Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
|
||||
Answers map[string]string `json:"answers,omitempty" yaml:"answers,omitempty"`
|
||||
AppRevisionId string `json:"appRevisionId,omitempty" yaml:"appRevisionId,omitempty"`
|
||||
Conditions []AppCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
|
||||
Created string `json:"created,omitempty" yaml:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
ExternalID string `json:"externalId,omitempty" yaml:"externalId,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
|
||||
LastAppliedTemplates string `json:"lastAppliedTemplate,omitempty" yaml:"lastAppliedTemplate,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"`
|
||||
Notes string `json:"notes,omitempty" yaml:"notes,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
|
||||
ProjectId string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
|
||||
Prune bool `json:"prune,omitempty" yaml:"prune,omitempty"`
|
||||
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
|
||||
State string `json:"state,omitempty" yaml:"state,omitempty"`
|
||||
Status *AppStatus `json:"status,omitempty" yaml:"status,omitempty"`
|
||||
TargetNamespace string `json:"targetNamespace,omitempty" yaml:"targetNamespace,omitempty"`
|
||||
Transitioning string `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
|
||||
TransitioningMessage string `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
|
||||
|
12
client/project/v3/zz_generated_app_upgrade_config.go
Normal file
12
client/project/v3/zz_generated_app_upgrade_config.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
AppUpgradeConfigType = "appUpgradeConfig"
|
||||
AppUpgradeConfigFieldAnswers = "answers"
|
||||
AppUpgradeConfigFieldExternalID = "externalId"
|
||||
)
|
||||
|
||||
type AppUpgradeConfig struct {
|
||||
Answers map[string]string `json:"answers,omitempty" yaml:"answers,omitempty"`
|
||||
ExternalID string `json:"externalId,omitempty" yaml:"externalId,omitempty"`
|
||||
}
|
10
client/project/v3/zz_generated_rollback_revision.go
Normal file
10
client/project/v3/zz_generated_rollback_revision.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
RollbackRevisionType = "rollbackRevision"
|
||||
RollbackRevisionFieldRevisionId = "revisionId"
|
||||
)
|
||||
|
||||
type RollbackRevision struct {
|
||||
RevisionId string `json:"revisionId,omitempty" yaml:"revisionId,omitempty"`
|
||||
}
|
Reference in New Issue
Block a user