deployment

package
v1.28.3 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContourDeploymentPodSelector

func ContourDeploymentPodSelector(contour *model.Contour) *metav1.LabelSelector

ContourDeploymentPodSelector returns a label selector using "app: contour" as the key/value pair.

func DesiredDeployment

func DesiredDeployment(contour *model.Contour, image string) *appsv1.Deployment

DesiredDeployment returns the desired deployment for the provided contour using image as Contour's container image.

func EnsureDeployment

func EnsureDeployment(ctx context.Context, cli client.Client, contour *model.Contour, image string) error

EnsureDeployment ensures a deployment using image exists for the given contour.

func EnsureDeploymentDeleted

func EnsureDeploymentDeleted(ctx context.Context, cli client.Client, contour *model.Contour) error

EnsureDeploymentDeleted ensures the deployment for the provided contour is deleted if Contour owner labels exist.

Types

This section is empty.

Jump to

Keyboard shortcuts

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