mirror of
https://github.com/rancher/types.git
synced 2025-07-31 04:49:37 +00:00
go generate
This commit is contained in:
parent
a43579309b
commit
fc58b62fc0
@ -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
|
||||
}
|
||||
|
||||
|
20
client/management/v3/zz_generated_bastion_host.go
Normal file
20
client/management/v3/zz_generated_bastion_host.go
Normal file
@ -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"`
|
||||
}
|
@ -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"`
|
||||
|
Loading…
Reference in New Issue
Block a user