deployments

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: Apache-2.0 Imports: 6 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 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 GetOperatorPod

func GetOperatorPod(ctx context.Context) (corev1.Pod, error)

GetOperatorPod returns the operator pod if there is a single one running, error otherwise

Types

This section is empty.

Jump to

Keyboard shortcuts

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