diff --git a/apis/management.cattle.io/v3/zz_generated_deepcopy.go b/apis/management.cattle.io/v3/zz_generated_deepcopy.go index acc57c0e..eb7501a0 100644 --- a/apis/management.cattle.io/v3/zz_generated_deepcopy.go +++ b/apis/management.cattle.io/v3/zz_generated_deepcopy.go @@ -88,6 +88,10 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { in.(*BaseService).DeepCopyInto(out.(*BaseService)) return nil }, InType: reflect.TypeOf(&BaseService{})}, + conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { + in.(*BastionHost).DeepCopyInto(out.(*BastionHost)) + return nil + }, InType: reflect.TypeOf(&BastionHost{})}, conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { in.(*CalicoNetworkProvider).DeepCopyInto(out.(*CalicoNetworkProvider)) return nil @@ -1326,6 +1330,22 @@ func (in *BaseService) DeepCopy() *BaseService { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *BastionHost) DeepCopyInto(out *BastionHost) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionHost. +func (in *BastionHost) DeepCopy() *BastionHost { + if in == nil { + return nil + } + out := new(BastionHost) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CalicoNetworkProvider) DeepCopyInto(out *CalicoNetworkProvider) { *out = *in @@ -5918,6 +5938,7 @@ func (in *RancherKubernetesEngineConfig) DeepCopyInto(out *RancherKubernetesEngi } in.Ingress.DeepCopyInto(&out.Ingress) in.CloudProvider.DeepCopyInto(&out.CloudProvider) + out.BastionHost = in.BastionHost return } diff --git a/client/management/v3/zz_generated_bastion_host.go b/client/management/v3/zz_generated_bastion_host.go new file mode 100644 index 00000000..f329c20f --- /dev/null +++ b/client/management/v3/zz_generated_bastion_host.go @@ -0,0 +1,20 @@ +package client + +const ( + BastionHostType = "bastionHost" + BastionHostFieldAddress = "address" + BastionHostFieldPort = "port" + BastionHostFieldSSHAgentAuth = "sshAgentAuth" + BastionHostFieldSSHKey = "sshKey" + BastionHostFieldSSHKeyPath = "sshKeyPath" + BastionHostFieldUser = "user" +) + +type BastionHost struct { + Address string `json:"address,omitempty" yaml:"address,omitempty"` + Port string `json:"port,omitempty" yaml:"port,omitempty"` + SSHAgentAuth bool `json:"sshAgentAuth,omitempty" yaml:"sshAgentAuth,omitempty"` + SSHKey string `json:"sshKey,omitempty" yaml:"sshKey,omitempty"` + SSHKeyPath string `json:"sshKeyPath,omitempty" yaml:"sshKeyPath,omitempty"` + User string `json:"user,omitempty" yaml:"user,omitempty"` +} diff --git a/client/management/v3/zz_generated_rancher_kubernetes_engine_config.go b/client/management/v3/zz_generated_rancher_kubernetes_engine_config.go index e404fb94..f77dd9b9 100644 --- a/client/management/v3/zz_generated_rancher_kubernetes_engine_config.go +++ b/client/management/v3/zz_generated_rancher_kubernetes_engine_config.go @@ -7,6 +7,7 @@ const ( RancherKubernetesEngineConfigFieldAddonsInclude = "addonsInclude" RancherKubernetesEngineConfigFieldAuthentication = "authentication" RancherKubernetesEngineConfigFieldAuthorization = "authorization" + RancherKubernetesEngineConfigFieldBastionHost = "bastionHost" RancherKubernetesEngineConfigFieldCloudProvider = "cloudProvider" RancherKubernetesEngineConfigFieldClusterName = "clusterName" RancherKubernetesEngineConfigFieldIgnoreDockerVersion = "ignoreDockerVersion" @@ -27,6 +28,7 @@ type RancherKubernetesEngineConfig struct { AddonsInclude []string `json:"addonsInclude,omitempty" yaml:"addonsInclude,omitempty"` Authentication *AuthnConfig `json:"authentication,omitempty" yaml:"authentication,omitempty"` Authorization *AuthzConfig `json:"authorization,omitempty" yaml:"authorization,omitempty"` + BastionHost *BastionHost `json:"bastionHost,omitempty" yaml:"bastionHost,omitempty"` CloudProvider *CloudProvider `json:"cloudProvider,omitempty" yaml:"cloudProvider,omitempty"` ClusterName string `json:"clusterName,omitempty" yaml:"clusterName,omitempty"` IgnoreDockerVersion bool `json:"ignoreDockerVersion,omitempty" yaml:"ignoreDockerVersion,omitempty"`