1
0
mirror of https://github.com/rancher/types.git synced 2025-08-30 19:32:18 +00:00

Generated Changes

This commit is contained in:
Prachi Damle 2019-06-18 14:54:24 -07:00 committed by Alena Prokharchyk
parent 5c0a7ab25a
commit 8762fb8c61
2 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,7 @@ const (
ClusterTemplateFieldDefaultRevisionID = "defaultRevisionId"
ClusterTemplateFieldDescription = "description"
ClusterTemplateFieldEnabled = "enabled"
ClusterTemplateFieldEnforced = "enforced"
ClusterTemplateFieldLabels = "labels"
ClusterTemplateFieldMembers = "members"
ClusterTemplateFieldName = "name"
@ -28,6 +29,7 @@ type ClusterTemplate struct {
DefaultRevisionID string `json:"defaultRevisionId,omitempty" yaml:"defaultRevisionId,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
Enabled *bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`
Enforced bool `json:"enforced,omitempty" yaml:"enforced,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Members []Member `json:"members,omitempty" yaml:"members,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`

View File

@ -6,6 +6,7 @@ const (
ClusterTemplateSpecFieldDescription = "description"
ClusterTemplateSpecFieldDisplayName = "displayName"
ClusterTemplateSpecFieldEnabled = "enabled"
ClusterTemplateSpecFieldEnforced = "enforced"
ClusterTemplateSpecFieldMembers = "members"
)
@ -14,5 +15,6 @@ type ClusterTemplateSpec struct {
Description string `json:"description,omitempty" yaml:"description,omitempty"`
DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"`
Enabled *bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`
Enforced bool `json:"enforced,omitempty" yaml:"enforced,omitempty"`
Members []Member `json:"members,omitempty" yaml:"members,omitempty"`
}