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 ¶
Click to show internal directories.
Click to hide internal directories.