mirror of
https://github.com/rancher/types.git
synced 2025-07-12 12:57:58 +00:00
generated changes
This commit is contained in:
parent
a3c730ff38
commit
b4acd6816d
@ -6917,15 +6917,6 @@ func (in *TemplateVersionList) DeepCopyObject() runtime.Object {
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *TemplateVersionSpec) DeepCopyInto(out *TemplateVersionSpec) {
|
||||
*out = *in
|
||||
if in.Revision != nil {
|
||||
in, out := &in.Revision, &out.Revision
|
||||
if *in == nil {
|
||||
*out = nil
|
||||
} else {
|
||||
*out = new(int)
|
||||
**out = **in
|
||||
}
|
||||
}
|
||||
if in.UpgradeVersionLinks != nil {
|
||||
in, out := &in.UpgradeVersionLinks, &out.UpgradeVersionLinks
|
||||
*out = make(map[string]string, len(*in))
|
||||
|
@ -5,59 +5,55 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
TemplateVersionType = "templateVersion"
|
||||
TemplateVersionFieldAnnotations = "annotations"
|
||||
TemplateVersionFieldAppReadme = "appReadme"
|
||||
TemplateVersionFieldCreated = "created"
|
||||
TemplateVersionFieldCreatorID = "creatorId"
|
||||
TemplateVersionFieldDigest = "digest"
|
||||
TemplateVersionFieldExternalID = "externalId"
|
||||
TemplateVersionFieldFiles = "files"
|
||||
TemplateVersionFieldLabels = "labels"
|
||||
TemplateVersionFieldMaximumRancherVersion = "maximumRancherVersion"
|
||||
TemplateVersionFieldMinimumRancherVersion = "minimumRancherVersion"
|
||||
TemplateVersionFieldName = "name"
|
||||
TemplateVersionFieldOwnerReferences = "ownerReferences"
|
||||
TemplateVersionFieldQuestions = "questions"
|
||||
TemplateVersionFieldReadme = "readme"
|
||||
TemplateVersionFieldRemoved = "removed"
|
||||
TemplateVersionFieldRevision = "revision"
|
||||
TemplateVersionFieldState = "state"
|
||||
TemplateVersionFieldStatus = "status"
|
||||
TemplateVersionFieldTransitioning = "transitioning"
|
||||
TemplateVersionFieldTransitioningMessage = "transitioningMessage"
|
||||
TemplateVersionFieldUpgradeFrom = "upgradeFrom"
|
||||
TemplateVersionFieldUpgradeVersionLinks = "upgradeVersionLinks"
|
||||
TemplateVersionFieldUuid = "uuid"
|
||||
TemplateVersionFieldVersion = "version"
|
||||
TemplateVersionType = "templateVersion"
|
||||
TemplateVersionFieldAnnotations = "annotations"
|
||||
TemplateVersionFieldAppReadme = "appReadme"
|
||||
TemplateVersionFieldCreated = "created"
|
||||
TemplateVersionFieldCreatorID = "creatorId"
|
||||
TemplateVersionFieldDigest = "digest"
|
||||
TemplateVersionFieldExternalID = "externalId"
|
||||
TemplateVersionFieldFiles = "files"
|
||||
TemplateVersionFieldKubeVersion = "kubeVersion"
|
||||
TemplateVersionFieldLabels = "labels"
|
||||
TemplateVersionFieldName = "name"
|
||||
TemplateVersionFieldOwnerReferences = "ownerReferences"
|
||||
TemplateVersionFieldQuestions = "questions"
|
||||
TemplateVersionFieldRancherVersion = "rancherVersion"
|
||||
TemplateVersionFieldReadme = "readme"
|
||||
TemplateVersionFieldRemoved = "removed"
|
||||
TemplateVersionFieldState = "state"
|
||||
TemplateVersionFieldStatus = "status"
|
||||
TemplateVersionFieldTransitioning = "transitioning"
|
||||
TemplateVersionFieldTransitioningMessage = "transitioningMessage"
|
||||
TemplateVersionFieldUpgradeVersionLinks = "upgradeVersionLinks"
|
||||
TemplateVersionFieldUuid = "uuid"
|
||||
TemplateVersionFieldVersion = "version"
|
||||
)
|
||||
|
||||
type TemplateVersion struct {
|
||||
types.Resource
|
||||
Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
|
||||
AppReadme string `json:"appReadme,omitempty" yaml:"appReadme,omitempty"`
|
||||
Created string `json:"created,omitempty" yaml:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,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"`
|
||||
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
|
||||
MaximumRancherVersion string `json:"maximumRancherVersion,omitempty" yaml:"maximumRancherVersion,omitempty"`
|
||||
MinimumRancherVersion string `json:"minimumRancherVersion,omitempty" yaml:"minimumRancherVersion,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
|
||||
Questions []Question `json:"questions,omitempty" yaml:"questions,omitempty"`
|
||||
Readme string `json:"readme,omitempty" yaml:"readme,omitempty"`
|
||||
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
|
||||
Revision *int64 `json:"revision,omitempty" yaml:"revision,omitempty"`
|
||||
State string `json:"state,omitempty" yaml:"state,omitempty"`
|
||||
Status *TemplateVersionStatus `json:"status,omitempty" yaml:"status,omitempty"`
|
||||
Transitioning string `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
|
||||
TransitioningMessage string `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
|
||||
UpgradeFrom string `json:"upgradeFrom,omitempty" yaml:"upgradeFrom,omitempty"`
|
||||
UpgradeVersionLinks map[string]string `json:"upgradeVersionLinks,omitempty" yaml:"upgradeVersionLinks,omitempty"`
|
||||
Uuid string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
|
||||
Version string `json:"version,omitempty" yaml:"version,omitempty"`
|
||||
Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
|
||||
AppReadme string `json:"appReadme,omitempty" yaml:"appReadme,omitempty"`
|
||||
Created string `json:"created,omitempty" yaml:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,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"`
|
||||
KubeVersion string `json:"kubeVersion,omitempty" yaml:"kubeVersion,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
|
||||
Questions []Question `json:"questions,omitempty" yaml:"questions,omitempty"`
|
||||
RancherVersion string `json:"rancherVersion,omitempty" yaml:"rancherVersion,omitempty"`
|
||||
Readme string `json:"readme,omitempty" yaml:"readme,omitempty"`
|
||||
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
|
||||
State string `json:"state,omitempty" yaml:"state,omitempty"`
|
||||
Status *TemplateVersionStatus `json:"status,omitempty" yaml:"status,omitempty"`
|
||||
Transitioning string `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
|
||||
TransitioningMessage string `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
|
||||
UpgradeVersionLinks map[string]string `json:"upgradeVersionLinks,omitempty" yaml:"upgradeVersionLinks,omitempty"`
|
||||
Uuid string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
|
||||
Version string `json:"version,omitempty" yaml:"version,omitempty"`
|
||||
}
|
||||
type TemplateVersionCollection struct {
|
||||
types.Collection
|
||||
|
@ -1,32 +1,28 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
TemplateVersionSpecType = "templateVersionSpec"
|
||||
TemplateVersionSpecFieldAppReadme = "appReadme"
|
||||
TemplateVersionSpecFieldDigest = "digest"
|
||||
TemplateVersionSpecFieldExternalID = "externalId"
|
||||
TemplateVersionSpecFieldFiles = "files"
|
||||
TemplateVersionSpecFieldMaximumRancherVersion = "maximumRancherVersion"
|
||||
TemplateVersionSpecFieldMinimumRancherVersion = "minimumRancherVersion"
|
||||
TemplateVersionSpecFieldQuestions = "questions"
|
||||
TemplateVersionSpecFieldReadme = "readme"
|
||||
TemplateVersionSpecFieldRevision = "revision"
|
||||
TemplateVersionSpecFieldUpgradeFrom = "upgradeFrom"
|
||||
TemplateVersionSpecFieldUpgradeVersionLinks = "upgradeVersionLinks"
|
||||
TemplateVersionSpecFieldVersion = "version"
|
||||
TemplateVersionSpecType = "templateVersionSpec"
|
||||
TemplateVersionSpecFieldAppReadme = "appReadme"
|
||||
TemplateVersionSpecFieldDigest = "digest"
|
||||
TemplateVersionSpecFieldExternalID = "externalId"
|
||||
TemplateVersionSpecFieldFiles = "files"
|
||||
TemplateVersionSpecFieldKubeVersion = "kubeVersion"
|
||||
TemplateVersionSpecFieldQuestions = "questions"
|
||||
TemplateVersionSpecFieldRancherVersion = "rancherVersion"
|
||||
TemplateVersionSpecFieldReadme = "readme"
|
||||
TemplateVersionSpecFieldUpgradeVersionLinks = "upgradeVersionLinks"
|
||||
TemplateVersionSpecFieldVersion = "version"
|
||||
)
|
||||
|
||||
type TemplateVersionSpec struct {
|
||||
AppReadme string `json:"appReadme,omitempty" yaml:"appReadme,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"`
|
||||
MaximumRancherVersion string `json:"maximumRancherVersion,omitempty" yaml:"maximumRancherVersion,omitempty"`
|
||||
MinimumRancherVersion string `json:"minimumRancherVersion,omitempty" yaml:"minimumRancherVersion,omitempty"`
|
||||
Questions []Question `json:"questions,omitempty" yaml:"questions,omitempty"`
|
||||
Readme string `json:"readme,omitempty" yaml:"readme,omitempty"`
|
||||
Revision *int64 `json:"revision,omitempty" yaml:"revision,omitempty"`
|
||||
UpgradeFrom string `json:"upgradeFrom,omitempty" yaml:"upgradeFrom,omitempty"`
|
||||
UpgradeVersionLinks map[string]string `json:"upgradeVersionLinks,omitempty" yaml:"upgradeVersionLinks,omitempty"`
|
||||
Version string `json:"version,omitempty" yaml:"version,omitempty"`
|
||||
AppReadme string `json:"appReadme,omitempty" yaml:"appReadme,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"`
|
||||
KubeVersion string `json:"kubeVersion,omitempty" yaml:"kubeVersion,omitempty"`
|
||||
Questions []Question `json:"questions,omitempty" yaml:"questions,omitempty"`
|
||||
RancherVersion string `json:"rancherVersion,omitempty" yaml:"rancherVersion,omitempty"`
|
||||
Readme string `json:"readme,omitempty" yaml:"readme,omitempty"`
|
||||
UpgradeVersionLinks map[string]string `json:"upgradeVersionLinks,omitempty" yaml:"upgradeVersionLinks,omitempty"`
|
||||
Version string `json:"version,omitempty" yaml:"version,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user