Documentation ¶
Index ¶
Constants ¶
const ( OperatorImage = "datastax/cass-operator:latest" OperatorImageUBI = "datastax/cass-operator:latest-ubi" )
Variables ¶
This section is empty.
Functions ¶
func EnsureEmptyCluster ¶
func EnsureEmptyCluster()
Cleanup potential previous integ test resources.
func InstallTool ¶
func InstallTool()
If available, install the cli tool associated with the chosen k8s flavor
func ListSupportedFlavors ¶
func ListSupportedFlavors()
List k8s flavors that we support automating development workflows for
func RunIntegTests ¶
func RunIntegTests()
Bootstrap a cluster, then run Ginkgo integration tests.
Default behavior is to discover and run all test suites located under the ./tests/ directory.
To run a subset of test suites, specify the name of the suite directories in env var M_INTEG_DIR, separated by a comma
Example: M_INTEG_DIR=scale_up,stop_resume
This target assumes that helm is installed and available on path.
func SetupCassandraCluster ¶
func SetupCassandraCluster()
Stand up an example cluster running Apache Cassandra. Loads all necessary resources to get a running Apache Cassandra data center and operator This target assumes that helm is installed and available on path.
func SetupDSECluster ¶
func SetupDSECluster()
Stand up an example cluster running DSE 6.8. Loads all necessary resources to get a running DCE data center and operator This target assumes that helm is installed and available on path.
func SetupEmptyCluster ¶
func SetupEmptyCluster()
Stand up an empty cluster.
This will also configure kubectl to point at the new cluster.
Set M_LOAD_DEV_IMAGES to "true" to pull and load the dev images listed in buildsettings.yaml into the cluster.
func SetupExampleCluster ¶
func SetupExampleCluster()
Perform all the steps to stand up an example cluster, except for applying the final cassandra yaml specification. This must either be applied manually or by calling SetupCassandraCluster or SetupDSECluster. This target assumes that helm is installed and available on path.
Types ¶
This section is empty.