duck

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 2 Imported by: 60

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeploymentIsAvailable

func DeploymentIsAvailable(d *appsv1.DeploymentStatus, def bool) bool

DeploymentIsAvailable determines if the provided deployment is available. Note that if it cannot determine the Deployment's availability, it returns `def` (short for default).

func EndpointsAreAvailable added in v0.14.0

func EndpointsAreAvailable(ep *corev1.Endpoints) bool

EndpointsAreAvailable determines if the provided Endpoints are available.

Types

This section is empty.

Directories

Path Synopsis
Package v1 is the v1 version of the API.
Package v1 is the v1 version of the API.
Package v1alpha1 is the v1alpha1 version of the API.
Package v1alpha1 is the v1alpha1 version of the API.
Package v1beta1 is the v1beta1 version of the API.
Package v1beta1 is the v1beta1 version of the API.

Jump to

Keyboard shortcuts

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