/
zz_generated_rke_config_node.go
38 lines (36 loc) · 2.16 KB
/
zz_generated_rke_config_node.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package client
const (
RKEConfigNodeType = "rkeConfigNode"
RKEConfigNodeFieldAddress = "address"
RKEConfigNodeFieldDockerSocket = "dockerSocket"
RKEConfigNodeFieldHostnameOverride = "hostnameOverride"
RKEConfigNodeFieldInternalAddress = "internalAddress"
RKEConfigNodeFieldLabels = "labels"
RKEConfigNodeFieldNodeID = "nodeId"
RKEConfigNodeFieldPort = "port"
RKEConfigNodeFieldRole = "role"
RKEConfigNodeFieldSSHAgentAuth = "sshAgentAuth"
RKEConfigNodeFieldSSHCert = "sshCert"
RKEConfigNodeFieldSSHCertPath = "sshCertPath"
RKEConfigNodeFieldSSHKey = "sshKey"
RKEConfigNodeFieldSSHKeyPath = "sshKeyPath"
RKEConfigNodeFieldTaints = "taints"
RKEConfigNodeFieldUser = "user"
)
type RKEConfigNode struct {
Address string `json:"address,omitempty" yaml:"address,omitempty"`
DockerSocket string `json:"dockerSocket,omitempty" yaml:"dockerSocket,omitempty"`
HostnameOverride string `json:"hostnameOverride,omitempty" yaml:"hostnameOverride,omitempty"`
InternalAddress string `json:"internalAddress,omitempty" yaml:"internalAddress,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
NodeID string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"`
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"`
Taints []RKETaint `json:"taints,omitempty" yaml:"taints,omitempty"`
User string `json:"user,omitempty" yaml:"user,omitempty"`
}