Documentation ¶
Index ¶
- Constants
- func GetVMStartupScript(machine *actuators.MachineScope, bootstrapToken string) (string, error)
- func JoinControlPlane(input *ContolPlaneJoinInput) (string, error)
- func NewBastion(input *BastionInput) (string, error)
- func NewControlPlane(input *ControlPlaneInput) (string, error)
- func NewNode(input *NodeInput) (string, error)
- type BastionInput
- type ContolPlaneJoinInput
- type ControlPlaneInput
- type NodeInput
Constants ¶
View Source
const ( ContainerdVersion = "1.2.7" ContainerdSHA256 = "f6d4c4cd491b7ba42a4a1e9175425e238c47d8a1e7d755139946d926f3f31cff" )
Variables ¶
This section is empty.
Functions ¶
func GetVMStartupScript ¶
func GetVMStartupScript(machine *actuators.MachineScope, bootstrapToken string) (string, error)
GetVMStartupScript returns startup script based on role
func JoinControlPlane ¶
func JoinControlPlane(input *ContolPlaneJoinInput) (string, error)
JoinControlPlane returns the user data string to be used on a new contrplplane instance.
func NewBastion ¶
func NewBastion(input *BastionInput) (string, error)
NewBastion returns the user data string to be used on a bastion instance.
func NewControlPlane ¶
func NewControlPlane(input *ControlPlaneInput) (string, error)
NewControlPlane returns the user data string to be used on a controlplane instance.
Types ¶
type BastionInput ¶
type BastionInput struct {
// contains filtered or unexported fields
}
BastionInput defines the context to generate a bastion instance user data.
type ContolPlaneJoinInput ¶
type ContolPlaneJoinInput struct { CACertHash string CACert string CAKey string EtcdCACert string EtcdCAKey string FrontProxyCACert string FrontProxyCAKey string SaCert string SaKey string BootstrapToken string LBAddress string KubernetesVersion string CloudProviderConfig string ContainerdVersion string ContainerdSHA256 string // contains filtered or unexported fields }
ContolPlaneJoinInput defines context to generate controlplane instance user data for controlplane node join.
type ControlPlaneInput ¶
type ControlPlaneInput struct { CACert string CAKey string EtcdCACert string EtcdCAKey string FrontProxyCACert string FrontProxyCAKey string SaCert string SaKey string LBAddress string InternalLBAddress string ClusterName string PodSubnet string ServiceDomain string ServiceSubnet string KubernetesVersion string CloudProviderConfig string ContainerdVersion string ContainerdSHA256 string // contains filtered or unexported fields }
ControlPlaneInput defines the context to generate a controlplane instance user data.
type NodeInput ¶
type NodeInput struct { CACertHash string BootstrapToken string InternalLBAddress string KubernetesVersion string CloudProviderConfig string ContainerdVersion string ContainerdSHA256 string // contains filtered or unexported fields }
NodeInput defines the context to generate a node user data.
Click to show internal directories.
Click to hide internal directories.