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
}
ClusterBuilder is an interface that provides a function for building provider-specific Cluster apps
Click to show internal directories.
Click to hide internal directories.