diff --git a/apis/management.cattle.io/v3/zz_generated_deepcopy.go b/apis/management.cattle.io/v3/zz_generated_deepcopy.go index 77bd0799..a5574f40 100644 --- a/apis/management.cattle.io/v3/zz_generated_deepcopy.go +++ b/apis/management.cattle.io/v3/zz_generated_deepcopy.go @@ -522,6 +522,28 @@ func (in *CanalNetworkProvider) DeepCopy() *CanalNetworkProvider { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Capabilities) DeepCopyInto(out *Capabilities) { + *out = *in + in.L4LoadBalancer.DeepCopyInto(&out.L4LoadBalancer) + if in.IngressControllers != nil { + in, out := &in.IngressControllers, &out.IngressControllers + *out = make([]IngressController, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Capabilities. +func (in *Capabilities) DeepCopy() *Capabilities { + if in == nil { + return nil + } + out := new(Capabilities) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Catalog) DeepCopyInto(out *Catalog) { *out = *in @@ -1429,6 +1451,7 @@ func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) { **out = **in } } + in.Capabilities.DeepCopyInto(&out.Capabilities) return } @@ -2516,6 +2539,22 @@ func (in *IngressConfig) DeepCopy() *IngressConfig { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IngressController) DeepCopyInto(out *IngressController) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressController. +func (in *IngressController) DeepCopy() *IngressController { + if in == nil { + return nil + } + out := new(IngressController) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KafkaConfig) DeepCopyInto(out *KafkaConfig) { *out = *in @@ -2681,6 +2720,27 @@ func (in *KubernetesServicesOptions) DeepCopy() *KubernetesServicesOptions { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *L4LoadBalancer) DeepCopyInto(out *L4LoadBalancer) { + *out = *in + if in.ProtocolsSupported != nil { + in, out := &in.ProtocolsSupported, &out.ProtocolsSupported + *out = make([]string, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L4LoadBalancer. +func (in *L4LoadBalancer) DeepCopy() *L4LoadBalancer { + if in == nil { + return nil + } + out := new(L4LoadBalancer) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LdapConfig) DeepCopyInto(out *LdapConfig) { *out = *in diff --git a/client/management/v3/zz_generated_capabilities.go b/client/management/v3/zz_generated_capabilities.go new file mode 100644 index 00000000..3291a985 --- /dev/null +++ b/client/management/v3/zz_generated_capabilities.go @@ -0,0 +1,16 @@ +package client + +const ( + CapabilitiesType = "capabilities" + CapabilitiesFieldIngressControllers = "ingressControllers" + CapabilitiesFieldL4LoadBalancer = "l4loadBalancer" + CapabilitiesFieldNodePoolScalingSupported = "nodePoolScalingSupported" + CapabilitiesFieldNodePortRange = "nodePortRange" +) + +type Capabilities struct { + IngressControllers []IngressController `json:"ingressControllers,omitempty" yaml:"ingressControllers,omitempty"` + L4LoadBalancer *L4LoadBalancer `json:"l4loadBalancer,omitempty" yaml:"l4loadBalancer,omitempty"` + NodePoolScalingSupported bool `json:"nodePoolScalingSupported,omitempty" yaml:"nodePoolScalingSupported,omitempty"` + NodePortRange string `json:"nodePortRange,omitempty" yaml:"nodePortRange,omitempty"` +} diff --git a/client/management/v3/zz_generated_cluster.go b/client/management/v3/zz_generated_cluster.go index 827b6f95..3ece689b 100644 --- a/client/management/v3/zz_generated_cluster.go +++ b/client/management/v3/zz_generated_cluster.go @@ -16,6 +16,7 @@ const ( ClusterFieldAppliedSpec = "appliedSpec" ClusterFieldAzureKubernetesServiceConfig = "azureKubernetesServiceConfig" ClusterFieldCACert = "caCert" + ClusterFieldCapabilities = "capabilities" ClusterFieldCapacity = "capacity" ClusterFieldComponentStatuses = "componentStatuses" ClusterFieldConditions = "conditions" @@ -58,6 +59,7 @@ type Cluster struct { AppliedSpec *ClusterSpec `json:"appliedSpec,omitempty" yaml:"appliedSpec,omitempty"` AzureKubernetesServiceConfig *AzureKubernetesServiceConfig `json:"azureKubernetesServiceConfig,omitempty" yaml:"azureKubernetesServiceConfig,omitempty"` CACert string `json:"caCert,omitempty" yaml:"caCert,omitempty"` + Capabilities *Capabilities `json:"capabilities,omitempty" yaml:"capabilities,omitempty"` Capacity map[string]string `json:"capacity,omitempty" yaml:"capacity,omitempty"` ComponentStatuses []ClusterComponentStatus `json:"componentStatuses,omitempty" yaml:"componentStatuses,omitempty"` Conditions []ClusterCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"` diff --git a/client/management/v3/zz_generated_cluster_status.go b/client/management/v3/zz_generated_cluster_status.go index ffff5dc7..0716b26d 100644 --- a/client/management/v3/zz_generated_cluster_status.go +++ b/client/management/v3/zz_generated_cluster_status.go @@ -9,6 +9,7 @@ const ( ClusterStatusFieldAppliedPodSecurityPolicyTemplateName = "appliedPodSecurityPolicyTemplateId" ClusterStatusFieldAppliedSpec = "appliedSpec" ClusterStatusFieldCACert = "caCert" + ClusterStatusFieldCapabilities = "capabilities" ClusterStatusFieldCapacity = "capacity" ClusterStatusFieldComponentStatuses = "componentStatuses" ClusterStatusFieldConditions = "conditions" @@ -27,6 +28,7 @@ type ClusterStatus struct { AppliedPodSecurityPolicyTemplateName string `json:"appliedPodSecurityPolicyTemplateId,omitempty" yaml:"appliedPodSecurityPolicyTemplateId,omitempty"` AppliedSpec *ClusterSpec `json:"appliedSpec,omitempty" yaml:"appliedSpec,omitempty"` CACert string `json:"caCert,omitempty" yaml:"caCert,omitempty"` + Capabilities *Capabilities `json:"capabilities,omitempty" yaml:"capabilities,omitempty"` Capacity map[string]string `json:"capacity,omitempty" yaml:"capacity,omitempty"` ComponentStatuses []ClusterComponentStatus `json:"componentStatuses,omitempty" yaml:"componentStatuses,omitempty"` Conditions []ClusterCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"` diff --git a/client/management/v3/zz_generated_ingress_controller.go b/client/management/v3/zz_generated_ingress_controller.go new file mode 100644 index 00000000..1adf431e --- /dev/null +++ b/client/management/v3/zz_generated_ingress_controller.go @@ -0,0 +1,14 @@ +package client + +const ( + IngressControllerType = "ingressController" + IngressControllerFieldCustomDefaultBackend = "customDefaultBackend" + IngressControllerFieldHTTPLoadBalancingEnabled = "httpLoadBalancingEnabled" + IngressControllerFieldIngressProvider = "ingressProvider" +) + +type IngressController struct { + CustomDefaultBackend bool `json:"customDefaultBackend,omitempty" yaml:"customDefaultBackend,omitempty"` + HTTPLoadBalancingEnabled bool `json:"httpLoadBalancingEnabled,omitempty" yaml:"httpLoadBalancingEnabled,omitempty"` + IngressProvider string `json:"ingressProvider,omitempty" yaml:"ingressProvider,omitempty"` +} diff --git a/client/management/v3/zz_generated_l4load_balancer.go b/client/management/v3/zz_generated_l4load_balancer.go new file mode 100644 index 00000000..8b782cce --- /dev/null +++ b/client/management/v3/zz_generated_l4load_balancer.go @@ -0,0 +1,16 @@ +package client + +const ( + L4LoadBalancerType = "l4LoadBalancer" + L4LoadBalancerFieldEnabled = "enabled" + L4LoadBalancerFieldHealthCheckSupported = "healthCheckSupported" + L4LoadBalancerFieldProtocolsSupported = "protocolsSupported" + L4LoadBalancerFieldProvider = "provider" +) + +type L4LoadBalancer struct { + Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"` + HealthCheckSupported bool `json:"healthCheckSupported,omitempty" yaml:"healthCheckSupported,omitempty"` + ProtocolsSupported []string `json:"protocolsSupported,omitempty" yaml:"protocolsSupported,omitempty"` + Provider string `json:"provider,omitempty" yaml:"provider,omitempty"` +}