Documentation ¶
Index ¶
- func NewBastion(input *BastionInput) (string, error)
- func NewInitControlPlane(input *ControlPlaneInput) (string, error)
- func NewJoinControlPlane(input *ControlPlaneJoinInput) (string, error)
- func NewNode(input *NodeInput) (string, error)
- type BastionInput
- type Certificates
- type ControlPlaneInput
- type ControlPlaneJoinInput
- type Files
- type NodeInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBastion ¶
func NewBastion(input *BastionInput) (string, error)
NewBastion returns the user data string to be used on a bastion instance.
func NewInitControlPlane ¶ added in v0.3.4
func NewInitControlPlane(input *ControlPlaneInput) (string, error)
NewInitControlPlane returns the user data string to be used on a controlplane instance.
func NewJoinControlPlane ¶ added in v0.3.4
func NewJoinControlPlane(input *ControlPlaneJoinInput) (string, error)
NewJoinControlPlane returns the user data string to be used on a new contrplplane instance.
Types ¶
type BastionInput ¶
type BastionInput struct {
// contains filtered or unexported fields
}
BastionInput defines the context to generate a bastion instance user data.
type Certificates ¶ added in v0.3.4
type ControlPlaneInput ¶
type ControlPlaneInput struct { Certificates AdditionalFiles []Files ClusterConfiguration string InitConfiguration string // contains filtered or unexported fields }
ControlPlaneInput defines the context to generate a controlplane instance user data.
type ControlPlaneJoinInput ¶ added in v0.3.4
type ControlPlaneJoinInput struct { Certificates AdditionalFiles []Files BootstrapToken string ELBAddress string JoinConfiguration string // contains filtered or unexported fields }
ControlPlaneJoinInput defines context to generate controlplane instance user data for controlplane node join.
type Files ¶ added in v0.3.4
type Files struct { // Path specifies the full path on disk where to store the file. Path string `json:"path"` // Owner specifies the ownership of the file, e.g. "root:root". Owner string `json:"owner"` // Permissions specifies the permissions to assign to the file, e.g. "0640". Permissions string `json:"permissions"` // Content is the actual content of the file. Content string `json:"content"` }
Files defines the input for generating write_files in cloud-init.
Click to show internal directories.
Click to hide internal directories.