Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadOrBuildCluster ¶
func LoadOrBuildCluster(framework *clustertest.Framework, clusterBuilder ClusterBuilder) *application.Cluster
LoadOrBuildCluster attempts to load a pre-built workload cluster if the appropriate env vars are set and if not will build a new Cluster For now, when building a cluster it is assumed that the values for the cluster and default-apps can be found at: ./test_data/cluster_values.yaml and ./test_data/default-apps_values.yaml
Types ¶
type ClusterBuilder ¶
type ClusterBuilder interface { NewClusterApp(clusterName string, orgName string, clusterValuesOverrides []string, defaultAppsValuesOverrides []string) *application.Cluster KubeContext() string }
ClusterBuilder is an interface that provides a function for building provider-specific Cluster apps
func GetClusterBuilderForContext ¶ added in v1.0.2
func GetClusterBuilderForContext(context string) (ClusterBuilder, error)
GetClusterBuilderForContext returns a suitable ClusterBuilder instance that supports the provided KubeContext
Click to show internal directories.
Click to hide internal directories.