userdata

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 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.

func NewNode

func NewNode(input *NodeInput) (string, error)

NewNode returns the user data string to be used on a node 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 {
	CACert            string
	CAKey             string
	EtcdCACert        string
	EtcdCAKey         string
	FrontProxyCACert  string
	FrontProxyCAKey   string
	SaCert            string
	SaKey             string
	BootstrapToken    string
	ELBAddress        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 {
	CACert               string
	CAKey                string
	EtcdCACert           string
	EtcdCAKey            string
	FrontProxyCACert     string
	FrontProxyCAKey      string
	SaCert               string
	SaKey                string
	ClusterConfiguration string
	InitConfiguration    string
	// contains filtered or unexported fields
}

ControlPlaneInput defines the context to generate a controlplane instance user data.

type NodeInput

type NodeInput struct {
	JoinConfiguration string
	// contains filtered or unexported fields
}

NodeInput defines the context to generate a node user data.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL