mirror of
https://github.com/rancher/types.git
synced 2025-08-01 21:07:41 +00:00
Go generated
This commit is contained in:
parent
100c3ef953
commit
8206f5d59b
@ -3,7 +3,6 @@ package v3
|
||||
import (
|
||||
"github.com/rancher/norman/condition"
|
||||
"github.com/rancher/norman/types"
|
||||
|
||||
"k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
@ -170,6 +170,13 @@ func (in *AppRevisionStatus) DeepCopyInto(out *AppRevisionStatus) {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
if in.Files != nil {
|
||||
in, out := &in.Files, &out.Files
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
@ -251,6 +258,13 @@ func (in *AppUpgradeConfig) DeepCopyInto(out *AppUpgradeConfig) {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
if in.Files != nil {
|
||||
in, out := &in.Files, &out.Files
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -5,6 +5,7 @@ const (
|
||||
AppRevisionStatusFieldAnswers = "answers"
|
||||
AppRevisionStatusFieldDigest = "digest"
|
||||
AppRevisionStatusFieldExternalID = "externalId"
|
||||
AppRevisionStatusFieldFiles = "files"
|
||||
AppRevisionStatusFieldProjectID = "projectId"
|
||||
AppRevisionStatusFieldValuesYaml = "valuesYaml"
|
||||
)
|
||||
@ -13,6 +14,7 @@ type AppRevisionStatus struct {
|
||||
Answers map[string]string `json:"answers,omitempty" yaml:"answers,omitempty"`
|
||||
Digest string `json:"digest,omitempty" yaml:"digest,omitempty"`
|
||||
ExternalID string `json:"externalId,omitempty" yaml:"externalId,omitempty"`
|
||||
Files map[string]string `json:"files,omitempty" yaml:"files,omitempty"`
|
||||
ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
|
||||
ValuesYaml string `json:"valuesYaml,omitempty" yaml:"valuesYaml,omitempty"`
|
||||
}
|
||||
|
@ -4,11 +4,13 @@ const (
|
||||
AppUpgradeConfigType = "appUpgradeConfig"
|
||||
AppUpgradeConfigFieldAnswers = "answers"
|
||||
AppUpgradeConfigFieldExternalID = "externalId"
|
||||
AppUpgradeConfigFieldFiles = "files"
|
||||
AppUpgradeConfigFieldForceUpgrade = "forceUpgrade"
|
||||
)
|
||||
|
||||
type AppUpgradeConfig struct {
|
||||
Answers map[string]string `json:"answers,omitempty" yaml:"answers,omitempty"`
|
||||
ExternalID string `json:"externalId,omitempty" yaml:"externalId,omitempty"`
|
||||
Files map[string]string `json:"files,omitempty" yaml:"files,omitempty"`
|
||||
ForceUpgrade bool `json:"forceUpgrade,omitempty" yaml:"forceUpgrade,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user