Documentation ¶
Index ¶
- func BuildMinimalBastionInstanceGroup(name string, subnets ...string) kops.InstanceGroup
- func BuildMinimalCluster(clusterName string) *kops.Cluster
- func BuildMinimalMasterInstanceGroup(subnet string) kops.InstanceGroup
- func BuildMinimalNodeInstanceGroup(name string, subnets ...string) kops.InstanceGroup
- func SetupMockOpenstack() *openstack.MockCloud
- func ValidateTasks(t *testing.T, expectedFile string, context *fi.ModelBuilderContext)
- type IntegrationTestHarness
- type Model
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildMinimalBastionInstanceGroup ¶ added in v1.19.0
func BuildMinimalBastionInstanceGroup(name string, subnets ...string) kops.InstanceGroup
func BuildMinimalCluster ¶ added in v1.19.0
BuildMinimalCluster a generic minimal cluster
func BuildMinimalMasterInstanceGroup ¶ added in v1.19.0
func BuildMinimalMasterInstanceGroup(subnet string) kops.InstanceGroup
func BuildMinimalNodeInstanceGroup ¶ added in v1.19.0
func BuildMinimalNodeInstanceGroup(name string, subnets ...string) kops.InstanceGroup
func SetupMockOpenstack ¶ added in v1.19.0
func ValidateTasks ¶ added in v1.11.0
func ValidateTasks(t *testing.T, expectedFile string, context *fi.ModelBuilderContext)
Types ¶
type IntegrationTestHarness ¶
type IntegrationTestHarness struct { TempDir string T *testing.T // contains filtered or unexported fields }
func NewIntegrationTestHarness ¶
func NewIntegrationTestHarness(t *testing.T) *IntegrationTestHarness
func (*IntegrationTestHarness) Close ¶
func (h *IntegrationTestHarness) Close()
func (*IntegrationTestHarness) MockKopsVersion ¶
func (h *IntegrationTestHarness) MockKopsVersion(version string)
MockKopsVersion will set the kops version to the specified value, until Close is called
func (*IntegrationTestHarness) SetupMockAWS ¶
func (h *IntegrationTestHarness) SetupMockAWS() *awsup.MockAWSCloud
func (*IntegrationTestHarness) SetupMockGCE ¶
func (h *IntegrationTestHarness) SetupMockGCE() *gcemock.MockGCECloud
SetupMockGCE configures a mock GCE cloud provider
Click to show internal directories.
Click to hide internal directories.