clusterapi

package
v0.0.0-...-e8cdff0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster interface {
	AddNodePool(name string) NodePoolBuilder
	Delete()

	GetLiveObject() (*cmav1alpha1.Cluster, error)
}

type ClusterBuilder

type ClusterBuilder interface {
	InRegion(r string) ClusterBuilder
	WithMaster() MasterBuilder

	Create() (Cluster, error)
}

type MasterBuilder

type MasterBuilder interface {
	AvailabilityZone(az string) ClusterBuilder
	InstanceType(t string) ClusterBuilder
}

type NodePool

type NodePool interface {
	Delete()
	GetLiveObject() (*cmav1alpha1.MachineDeployment, error)
}

type NodePoolBuilder

type NodePoolBuilder interface {
	WithAvailabilityZone(az string) NodePoolBuilder
	WithInstanceType(t string) NodePoolBuilder
	WithMinWorkers(n int) NodePoolBuilder
	WithMaxWorkers(n int) NodePoolBuilder
	Create() (NodePool, error)
}

type TestCase

type TestCase interface {
	NewCluster(name string) ClusterBuilder

	CMAClient() clientset.Interface
}

func NewTestCase

func NewTestCase(name string) TestCase

Jump to

Keyboard shortcuts

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