mirror of
https://github.com/rancher/types.git
synced 2025-08-31 12:48:45 +00:00
Generated changes
This commit is contained in:
committed by
Alena Prokharchyk
parent
5b8362efd4
commit
aa57f8af4e
@@ -1952,6 +1952,13 @@ func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) {
|
||||
*out = (*in).DeepCopy()
|
||||
}
|
||||
in.ClusterTemplateAnswers.DeepCopyInto(&out.ClusterTemplateAnswers)
|
||||
if in.ClusterTemplateQuestions != nil {
|
||||
in, out := &in.ClusterTemplateQuestions, &out.ClusterTemplateQuestions
|
||||
*out = make([]Question, len(*in))
|
||||
for i := range *in {
|
||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
@@ -20,6 +20,7 @@ const (
|
||||
ClusterFieldCertificatesExpiration = "certificatesExpiration"
|
||||
ClusterFieldClusterTemplateAnswers = "answers"
|
||||
ClusterFieldClusterTemplateID = "clusterTemplateId"
|
||||
ClusterFieldClusterTemplateQuestions = "questions"
|
||||
ClusterFieldClusterTemplateRevisionID = "clusterTemplateRevisionId"
|
||||
ClusterFieldComponentStatuses = "componentStatuses"
|
||||
ClusterFieldConditions = "conditions"
|
||||
@@ -71,6 +72,7 @@ type Cluster struct {
|
||||
CertificatesExpiration map[string]CertExpiration `json:"certificatesExpiration,omitempty" yaml:"certificatesExpiration,omitempty"`
|
||||
ClusterTemplateAnswers *Answer `json:"answers,omitempty" yaml:"answers,omitempty"`
|
||||
ClusterTemplateID string `json:"clusterTemplateId,omitempty" yaml:"clusterTemplateId,omitempty"`
|
||||
ClusterTemplateQuestions []Question `json:"questions,omitempty" yaml:"questions,omitempty"`
|
||||
ClusterTemplateRevisionID string `json:"clusterTemplateRevisionId,omitempty" yaml:"clusterTemplateRevisionId,omitempty"`
|
||||
ComponentStatuses []ClusterComponentStatus `json:"componentStatuses,omitempty" yaml:"componentStatuses,omitempty"`
|
||||
Conditions []ClusterCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
|
||||
|
@@ -6,6 +6,7 @@ const (
|
||||
ClusterSpecFieldAzureKubernetesServiceConfig = "azureKubernetesServiceConfig"
|
||||
ClusterSpecFieldClusterTemplateAnswers = "answers"
|
||||
ClusterSpecFieldClusterTemplateID = "clusterTemplateId"
|
||||
ClusterSpecFieldClusterTemplateQuestions = "questions"
|
||||
ClusterSpecFieldClusterTemplateRevisionID = "clusterTemplateRevisionId"
|
||||
ClusterSpecFieldDefaultClusterRoleForProjectMembers = "defaultClusterRoleForProjectMembers"
|
||||
ClusterSpecFieldDefaultPodSecurityPolicyTemplateID = "defaultPodSecurityPolicyTemplateId"
|
||||
@@ -30,6 +31,7 @@ type ClusterSpec struct {
|
||||
AzureKubernetesServiceConfig map[string]interface{} `json:"azureKubernetesServiceConfig,omitempty" yaml:"azureKubernetesServiceConfig,omitempty"`
|
||||
ClusterTemplateAnswers *Answer `json:"answers,omitempty" yaml:"answers,omitempty"`
|
||||
ClusterTemplateID string `json:"clusterTemplateId,omitempty" yaml:"clusterTemplateId,omitempty"`
|
||||
ClusterTemplateQuestions []Question `json:"questions,omitempty" yaml:"questions,omitempty"`
|
||||
ClusterTemplateRevisionID string `json:"clusterTemplateRevisionId,omitempty" yaml:"clusterTemplateRevisionId,omitempty"`
|
||||
DefaultClusterRoleForProjectMembers string `json:"defaultClusterRoleForProjectMembers,omitempty" yaml:"defaultClusterRoleForProjectMembers,omitempty"`
|
||||
DefaultPodSecurityPolicyTemplateID string `json:"defaultPodSecurityPolicyTemplateId,omitempty" yaml:"defaultPodSecurityPolicyTemplateId,omitempty"`
|
||||
|
@@ -11,7 +11,6 @@ const (
|
||||
ClusterTemplateFieldCreatorID = "creatorId"
|
||||
ClusterTemplateFieldDefaultRevisionID = "defaultRevisionId"
|
||||
ClusterTemplateFieldDescription = "description"
|
||||
ClusterTemplateFieldEnforced = "enforced"
|
||||
ClusterTemplateFieldLabels = "labels"
|
||||
ClusterTemplateFieldMembers = "members"
|
||||
ClusterTemplateFieldName = "name"
|
||||
@@ -27,7 +26,6 @@ type ClusterTemplate struct {
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
DefaultRevisionID string `json:"defaultRevisionId,omitempty" yaml:"defaultRevisionId,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,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"`
|
||||
|
@@ -5,7 +5,6 @@ const (
|
||||
ClusterTemplateSpecFieldDefaultRevisionID = "defaultRevisionId"
|
||||
ClusterTemplateSpecFieldDescription = "description"
|
||||
ClusterTemplateSpecFieldDisplayName = "displayName"
|
||||
ClusterTemplateSpecFieldEnforced = "enforced"
|
||||
ClusterTemplateSpecFieldMembers = "members"
|
||||
)
|
||||
|
||||
@@ -13,6 +12,5 @@ type ClusterTemplateSpec struct {
|
||||
DefaultRevisionID string `json:"defaultRevisionId,omitempty" yaml:"defaultRevisionId,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"`
|
||||
Enforced bool `json:"enforced,omitempty" yaml:"enforced,omitempty"`
|
||||
Members []Member `json:"members,omitempty" yaml:"members,omitempty"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user