operator

package
v1.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildOperatorImage

func BuildOperatorImage(sample sample.Sample, image string) error

BuildOperatorImage will build an operator image by running `make docker-build IMG=<image>`

func DeployOperator

func DeployOperator(sample sample.Sample, image string) error

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

func InstallCRDs(sample sample.Sample) error

InstallCRDs will install the CRDs for a sample onto the cluster

func UndeployOperator

func UndeployOperator(sample sample.Sample) error

UndeployOperator will clean up an operator from a Kubernetes cluster by running `make undeploy`

func UninstallCRDs

func UninstallCRDs(sample sample.Sample) error

UninstallCRDs will uninstall the CRDs for a sample from the cluster

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL