mirror of
https://github.com/rancher/types.git
synced 2025-07-01 07:51:48 +00:00
Update generated code
This commit is contained in:
parent
5ab6924482
commit
fc97048596
@ -1508,6 +1508,15 @@ func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
|
||||
}
|
||||
}
|
||||
in.AppliedSpec.DeepCopyInto(&out.AppliedSpec)
|
||||
if in.FailedSpec != nil {
|
||||
in, out := &in.FailedSpec, &out.FailedSpec
|
||||
if *in == nil {
|
||||
*out = nil
|
||||
} else {
|
||||
*out = new(ClusterSpec)
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
}
|
||||
if in.Requested != nil {
|
||||
in, out := &in.Requested, &out.Requested
|
||||
*out = make(v1.ResourceList, len(*in))
|
||||
@ -2357,6 +2366,13 @@ func (in *ListenConfig) DeepCopyInto(out *ListenConfig) {
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.GeneratedCerts != nil {
|
||||
in, out := &in.GeneratedCerts, &out.GeneratedCerts
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
if in.SubjectAlternativeNames != nil {
|
||||
in, out := &in.SubjectAlternativeNames, &out.SubjectAlternativeNames
|
||||
*out = make([]string, len(*in))
|
||||
|
@ -21,6 +21,7 @@ const (
|
||||
ClusterFieldDescription = "description"
|
||||
ClusterFieldDriver = "driver"
|
||||
ClusterFieldEmbeddedConfig = "embeddedConfig"
|
||||
ClusterFieldFailedSpec = "failedSpec"
|
||||
ClusterFieldGoogleKubernetesEngineConfig = "googleKubernetesEngineConfig"
|
||||
ClusterFieldImportedConfig = "importedConfig"
|
||||
ClusterFieldInternal = "internal"
|
||||
@ -55,6 +56,7 @@ type Cluster struct {
|
||||
Description string `json:"description,omitempty"`
|
||||
Driver string `json:"driver,omitempty"`
|
||||
EmbeddedConfig *K8sServerConfig `json:"embeddedConfig,omitempty"`
|
||||
FailedSpec *ClusterSpec `json:"failedSpec,omitempty"`
|
||||
GoogleKubernetesEngineConfig *GoogleKubernetesEngineConfig `json:"googleKubernetesEngineConfig,omitempty"`
|
||||
ImportedConfig *ImportedConfig `json:"importedConfig,omitempty"`
|
||||
Internal *bool `json:"internal,omitempty"`
|
||||
|
@ -9,6 +9,7 @@ const (
|
||||
ClusterStatusFieldComponentStatuses = "componentStatuses"
|
||||
ClusterStatusFieldConditions = "conditions"
|
||||
ClusterStatusFieldDriver = "driver"
|
||||
ClusterStatusFieldFailedSpec = "failedSpec"
|
||||
ClusterStatusFieldLimits = "limits"
|
||||
ClusterStatusFieldRequested = "requested"
|
||||
)
|
||||
@ -21,6 +22,7 @@ type ClusterStatus struct {
|
||||
ComponentStatuses []ClusterComponentStatus `json:"componentStatuses,omitempty"`
|
||||
Conditions []ClusterCondition `json:"conditions,omitempty"`
|
||||
Driver string `json:"driver,omitempty"`
|
||||
FailedSpec *ClusterSpec `json:"failedSpec,omitempty"`
|
||||
Limits map[string]string `json:"limits,omitempty"`
|
||||
Requested map[string]string `json:"requested,omitempty"`
|
||||
}
|
||||
|
@ -18,6 +18,7 @@ const (
|
||||
ListenConfigFieldDomains = "domains"
|
||||
ListenConfigFieldEnabled = "enabled"
|
||||
ListenConfigFieldExpiresAt = "expiresAt"
|
||||
ListenConfigFieldGeneratedCerts = "generatedCerts"
|
||||
ListenConfigFieldIssuedAt = "issuedAt"
|
||||
ListenConfigFieldIssuer = "issuer"
|
||||
ListenConfigFieldKey = "key"
|
||||
@ -49,6 +50,7 @@ type ListenConfig struct {
|
||||
Domains []string `json:"domains,omitempty"`
|
||||
Enabled *bool `json:"enabled,omitempty"`
|
||||
ExpiresAt string `json:"expiresAt,omitempty"`
|
||||
GeneratedCerts map[string]string `json:"generatedCerts,omitempty"`
|
||||
IssuedAt string `json:"issuedAt,omitempty"`
|
||||
Issuer string `json:"issuer,omitempty"`
|
||||
Key string `json:"key,omitempty"`
|
||||
|
Loading…
Reference in New Issue
Block a user