deployment

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsReady

func IsReady(client client.Client, namespace, name string, replicas int32) bool

IsReady checks if a deployment is ready by comparing the desired replicas to the ready replicas

func New

func New(namespace, name string, labels map[string]string, spec v1.DeploymentSpec) *v1.Deployment

New creates a new deployment

Types

This section is empty.

Jump to

Keyboard shortcuts

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