Documentation ¶
Index ¶
- func CreateCRDDef() *extv1.CustomResourceDefinition
- func CreateOperatorContainer(name, image, verbosity string, pullPolicy corev1.PullPolicy) corev1.Container
- func CreateOperatorDeployment(name, namespace, matchKey, matchValue, serviceAccount string, ...) *appsv1.Deployment
- func CreateOperatorDeploymentSpec(name, namespace, matchKey, matchValue, serviceAccount string, ...) *appsv1.DeploymentSpec
- func CreateOperatorEnvVar(...) *[]corev1.EnvVar
- func WithOperatorLabels(labels map[string]string) map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCRDDef ¶
func CreateCRDDef() *extv1.CustomResourceDefinition
CreateCRDDef creates the hostpath provisioner CRD definition.
func CreateOperatorContainer ¶
func CreateOperatorContainer(name, image, verbosity string, pullPolicy corev1.PullPolicy) corev1.Container
CreateOperatorContainer creates container spec for the operator pod.
func CreateOperatorDeployment ¶
func CreateOperatorDeployment(name, namespace, matchKey, matchValue, serviceAccount string, numReplicas int32) *appsv1.Deployment
CreateOperatorDeployment creates deployment
func CreateOperatorDeploymentSpec ¶
func CreateOperatorDeploymentSpec(name, namespace, matchKey, matchValue, serviceAccount string, numReplicas int32) *appsv1.DeploymentSpec
CreateOperatorDeploymentSpec creates deployment
func CreateOperatorEnvVar ¶
func CreateOperatorEnvVar(repo, deployClusterResources, operatorImage, provisionerImage, pullPolicy string) *[]corev1.EnvVar
CreateOperatorEnvVar creates the operator container environment variables based on the passed in parameters
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.