createcluster

package
v0.0.0-...-ca78c08 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KubeConfigFile string
	MasterIPs      string
	WorkerIPs      string
)

Functions

func BuildCluster

func BuildCluster(t *testing.T, tfVarsPath string, destroy bool, terraformVars map[string]interface{}) (string, error)

func ClusterOptions

func ClusterOptions(os ...ClusterOption) map[string]interface{}

Types

type ClusterOption

type ClusterOption func(o options) options

func AccessKey

func AccessKey(n string) ClusterOption

func AwsAmi

func AwsAmi(n string) ClusterOption

func ClusterType

func ClusterType(n string) ClusterOption

func ExternalDb

func ExternalDb(n string) ClusterOption

func NodeOs

func NodeOs(n string) ClusterOption

func ResourceName

func ResourceName(n string) ClusterOption

func ServerNodes

func ServerNodes(n int) ClusterOption

func Sshkey

func Sshkey(n string) ClusterOption

func Sshuser

func Sshuser(n string) ClusterOption

func WorkerNodes

func WorkerNodes(n int) ClusterOption

Jump to

Keyboard shortcuts

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