mirror of
https://github.com/rancher/types.git
synced 2025-08-02 05:11:59 +00:00
go generate
This commit is contained in:
parent
40653ba993
commit
829746ec5e
@ -5,6 +5,8 @@ const (
|
||||
BastionHostFieldAddress = "address"
|
||||
BastionHostFieldPort = "port"
|
||||
BastionHostFieldSSHAgentAuth = "sshAgentAuth"
|
||||
BastionHostFieldSSHCert = "sshCert"
|
||||
BastionHostFieldSSHCertPath = "sshCertPath"
|
||||
BastionHostFieldSSHKey = "sshKey"
|
||||
BastionHostFieldSSHKeyPath = "sshKeyPath"
|
||||
BastionHostFieldUser = "user"
|
||||
@ -14,6 +16,8 @@ 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"`
|
||||
SSHCert string `json:"sshCert,omitempty" yaml:"sshCert,omitempty"`
|
||||
SSHCertPath string `json:"sshCertPath,omitempty" yaml:"sshCertPath,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"`
|
||||
|
@ -6,6 +6,7 @@ const (
|
||||
CustomConfigFieldDockerSocket = "dockerSocket"
|
||||
CustomConfigFieldInternalAddress = "internalAddress"
|
||||
CustomConfigFieldLabel = "label"
|
||||
CustomConfigFieldSSHCert = "sshCert"
|
||||
CustomConfigFieldSSHKey = "sshKey"
|
||||
CustomConfigFieldUser = "user"
|
||||
)
|
||||
@ -15,6 +16,7 @@ type CustomConfig struct {
|
||||
DockerSocket string `json:"dockerSocket,omitempty" yaml:"dockerSocket,omitempty"`
|
||||
InternalAddress string `json:"internalAddress,omitempty" yaml:"internalAddress,omitempty"`
|
||||
Label map[string]string `json:"label,omitempty" yaml:"label,omitempty"`
|
||||
SSHCert string `json:"sshCert,omitempty" yaml:"sshCert,omitempty"`
|
||||
SSHKey string `json:"sshKey,omitempty" yaml:"sshKey,omitempty"`
|
||||
User string `json:"user,omitempty" yaml:"user,omitempty"`
|
||||
}
|
||||
|
@ -21,6 +21,7 @@ const (
|
||||
RancherKubernetesEngineConfigFieldRestore = "restore"
|
||||
RancherKubernetesEngineConfigFieldRotateCertificates = "rotateCertificates"
|
||||
RancherKubernetesEngineConfigFieldSSHAgentAuth = "sshAgentAuth"
|
||||
RancherKubernetesEngineConfigFieldSSHCertPath = "sshCertPath"
|
||||
RancherKubernetesEngineConfigFieldSSHKeyPath = "sshKeyPath"
|
||||
RancherKubernetesEngineConfigFieldServices = "services"
|
||||
RancherKubernetesEngineConfigFieldVersion = "kubernetesVersion"
|
||||
@ -46,6 +47,7 @@ type RancherKubernetesEngineConfig struct {
|
||||
Restore *RestoreConfig `json:"restore,omitempty" yaml:"restore,omitempty"`
|
||||
RotateCertificates *RotateCertificates `json:"rotateCertificates,omitempty" yaml:"rotateCertificates,omitempty"`
|
||||
SSHAgentAuth bool `json:"sshAgentAuth,omitempty" yaml:"sshAgentAuth,omitempty"`
|
||||
SSHCertPath string `json:"sshCertPath,omitempty" yaml:"sshCertPath,omitempty"`
|
||||
SSHKeyPath string `json:"sshKeyPath,omitempty" yaml:"sshKeyPath,omitempty"`
|
||||
Services *RKEConfigServices `json:"services,omitempty" yaml:"services,omitempty"`
|
||||
Version string `json:"kubernetesVersion,omitempty" yaml:"kubernetesVersion,omitempty"`
|
||||
|
@ -11,6 +11,8 @@ const (
|
||||
RKEConfigNodeFieldPort = "port"
|
||||
RKEConfigNodeFieldRole = "role"
|
||||
RKEConfigNodeFieldSSHAgentAuth = "sshAgentAuth"
|
||||
RKEConfigNodeFieldSSHCert = "sshCert"
|
||||
RKEConfigNodeFieldSSHCertPath = "sshCertPath"
|
||||
RKEConfigNodeFieldSSHKey = "sshKey"
|
||||
RKEConfigNodeFieldSSHKeyPath = "sshKeyPath"
|
||||
RKEConfigNodeFieldUser = "user"
|
||||
@ -26,6 +28,8 @@ type RKEConfigNode struct {
|
||||
Port string `json:"port,omitempty" yaml:"port,omitempty"`
|
||||
Role []string `json:"role,omitempty" yaml:"role,omitempty"`
|
||||
SSHAgentAuth bool `json:"sshAgentAuth,omitempty" yaml:"sshAgentAuth,omitempty"`
|
||||
SSHCert string `json:"sshCert,omitempty" yaml:"sshCert,omitempty"`
|
||||
SSHCertPath string `json:"sshCertPath,omitempty" yaml:"sshCertPath,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"`
|
||||
|
Loading…
Reference in New Issue
Block a user