deployment

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package deployment provides utilities for managing Kubernetes deployments

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsReady

func IsReady(ctx context.Context, cl client.Client, name types.NamespacedName) (bool, error)

IsReady checks if the deployment is ready.

func WaitForDeploymentReady

func WaitForDeploymentReady(
	ctx context.Context, cl client.Client, namespacedName types.NamespacedName, interval time.Duration,
) error

WaitForDeploymentReady waits for the deployment to be ready. ctx should have a timeout set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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