deployments

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package deployments contains code to get operator deployment

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOperatorConfigMaps added in v1.15.1

func GetOperatorConfigMaps(ctx context.Context) ([]corev1.ConfigMap, error)

GetOperatorConfigMaps returns the configmap referenced by the operator

func GetOperatorDeployment

func GetOperatorDeployment(ctx context.Context) (appsv1.Deployment, error)

GetOperatorDeployment returns the operator Deployment if there is a single one running, error otherwise

func GetOperatorNamespaceName

func GetOperatorNamespaceName(ctx context.Context) (string, error)

GetOperatorNamespaceName returns the namespace the operator Deployment is running in

func GetOperatorPods added in v1.15.1

func GetOperatorPods(ctx context.Context) ([]corev1.Pod, error)

GetOperatorPods returns the operator pods if found, error otherwise

func GetOperatorSecrets added in v1.15.1

func GetOperatorSecrets(ctx context.Context) ([]corev1.Secret, error)

GetOperatorSecrets returns the secrets used by the operator

Types

This section is empty.

Jump to

Keyboard shortcuts

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