Documentation ¶
Index ¶
- Variables
- func BuildCluster(t *testing.T, tfVarsPath string, destroy bool, ...) (string, error)
- func ClusterOptions(os ...ClusterOption) map[string]interface{}
- type ClusterOption
- func AccessKey(n string) ClusterOption
- func AwsAmi(n string) ClusterOption
- func ClusterType(n string) ClusterOption
- func ExternalDb(n string) ClusterOption
- func NodeOs(n string) ClusterOption
- func ResourceName(n string) ClusterOption
- func ServerNodes(n int) ClusterOption
- func Sshkey(n string) ClusterOption
- func Sshuser(n string) ClusterOption
- func WorkerNodes(n int) ClusterOption
Constants ¶
This section is empty.
Variables ¶
View Source
var ( KubeConfigFile string MasterIPs string WorkerIPs string )
Functions ¶
func BuildCluster ¶
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
Click to show internal directories.
Click to hide internal directories.