Documentation ¶
Index ¶
- func JoinControlPlane(input *ContolPlaneJoinInput) (string, error)
- func NewCloudConfig(input *CloudConfigInput) (string, error)
- func NewControlPlane(input *ControlPlaneInput) (string, error)
- func NewNode(input *NodeInput) (string, error)
- type CloudConfigInput
- type ContolPlaneJoinInput
- type ControlPlaneInput
- type NodeInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JoinControlPlane ¶
func JoinControlPlane(input *ContolPlaneJoinInput) (string, error)
JoinControlPlane returns the user data string to be used on a new contrplplane instance.
func NewCloudConfig ¶
func NewCloudConfig(input *CloudConfigInput) (string, error)
NewCloudConfig returns the string content for the vSphere Cloud Provider cloud config file
func NewControlPlane ¶
func NewControlPlane(input *ControlPlaneInput) (string, error)
NewControlPlane returns the user data string to be used on a controlplane instance.
Types ¶
type CloudConfigInput ¶
type CloudConfigInput struct { SecretName string SecretNamespace string Server string Datacenter string ResourcePool string Folder string Datastore string Network string }
CloudConfigInput defines parameters required to generate the vSphere Cloud Provider cloud config file
type ContolPlaneJoinInput ¶
type ContolPlaneJoinInput struct { SSHAuthorizedKeys []string CACert string CAKey string EtcdCACert string EtcdCAKey string FrontProxyCACert string FrontProxyCAKey string SaCert string SaKey string BootstrapToken string ELBAddress string CloudConfig string JoinConfiguration string // contains filtered or unexported fields }
ContolPlaneJoinInput defines context to generate controlplane instance user data for controlplane node join.
type ControlPlaneInput ¶
type ControlPlaneInput struct { SSHAuthorizedKeys []string CACert string CAKey string EtcdCACert string EtcdCAKey string FrontProxyCACert string FrontProxyCAKey string SaCert string SaKey string CloudConfig string ClusterConfiguration string InitConfiguration string // contains filtered or unexported fields }
ControlPlaneInput defines the context to generate a controlplane instance user data.
Click to show internal directories.
Click to hide internal directories.