Documentation
¶
Index ¶
- func BuildOperatorImage(sample sample.Sample, image string) error
- func DeployOperator(sample sample.Sample, image string) error
- func EnsureOperatorRunning(kubectl kubernetes.Kubectl, expectedNumPods int, podNameShouldContain string, ...) (string, error)
- func InstallCRDs(sample sample.Sample) error
- func UndeployOperator(sample sample.Sample) error
- func UninstallCRDs(sample sample.Sample) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildOperatorImage ¶
BuildOperatorImage will build an operator image by running `make docker-build IMG=<image>`
func DeployOperator ¶
DeployOperator will deploy an operator onto a Kubernetes cluster by running `make deploy IMG=<image>`
func EnsureOperatorRunning ¶
func EnsureOperatorRunning(kubectl kubernetes.Kubectl, expectedNumPods int, podNameShouldContain string, controlPlane string) (string, error)
EnsureOperatorRunning makes sure that an operator is running with with expected number of pods, the pod name contains a specific substring and is running in the specified control-plane
func InstallCRDs ¶
InstallCRDs will install the CRDs for a sample onto the cluster
func UndeployOperator ¶
UndeployOperator will clean up an operator from a Kubernetes cluster by running `make undeploy`
func UninstallCRDs ¶
UninstallCRDs will uninstall the CRDs for a sample from the cluster
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.