ready

package
v10.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 20 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIServiceIsReady

func APIServiceIsReady(svc *apiregistrationv1.APIService) bool

APIServiceIsReady returns true if an APIService is considered ready

func CheckAPIServiceIsReady

func CheckAPIServiceIsReady(cli apiregistrationv1client.APIServiceInterface, name string) func() (bool, error)

CheckAPIServiceIsReady returns a function which polls an APIService and returns its readiness

func CheckClusterServiceBrokerIsReady

func CheckClusterServiceBrokerIsReady(cli csbv1beta1client.ClusterServiceBrokerInterface, name string) func() (bool, error)

CheckClusterServiceBrokerIsReady returns a function which polls a CheckClusterServiceBroker and returns its readiness

func CheckCustomResourceDefinitionIsReady

func CheckCustomResourceDefinitionIsReady(cli kapiextensionsv1beta1client.CustomResourceDefinitionInterface, name string) func() (bool, error)

CheckCustomResourceDefinitionIsReady returns a function which polls a CustomResourceDefinition and returns its readiness

func CheckDaemonSetIsReady

func CheckDaemonSetIsReady(cli appsv1client.DaemonSetInterface, name string) func() (bool, error)

CheckDaemonSetIsReady returns a function which polls a DaemonSet and returns its readiness

func CheckDeploymentConfigIsReady

func CheckDeploymentConfigIsReady(cli oappsv1client.DeploymentConfigInterface, name string) func() (bool, error)

CheckDeploymentConfigIsReady returns a function which polls a DeploymentConfig and returns its readiness

func CheckDeploymentIsReady

func CheckDeploymentIsReady(cli appsv1client.DeploymentInterface, name string) func() (bool, error)

CheckDeploymentIsReady returns a function which polls a Deployment and returns its readiness

func CheckJobIsReady

func CheckJobIsReady(cli batchv1client.JobInterface, name string) func() (bool, error)

CheckJobIsReady returns a function which polls a Job and returns its readiness

func CheckNodeIsReady

func CheckNodeIsReady(cli corev1client.NodeInterface, name string) func() (bool, error)

CheckNodeIsReady returns a function which polls a Node and returns its readiness

func CheckPodHasPhase

func CheckPodHasPhase(cli corev1client.PodInterface, name string, phase corev1.PodPhase) func() (bool, error)

CheckPodHasPhase returns a function which polls a Pod and returns whether its phase matches the given input

func CheckPodIsReady

func CheckPodIsReady(cli corev1client.PodInterface, name string) func() (bool, error)

CheckPodIsReady returns a function which polls a Pod and returns its readiness

func CheckServiceIsReady

func CheckServiceIsReady(cli corev1client.ServiceInterface, name string) func() (bool, error)

CheckServiceIsReady returns a function which polls a Service and returns its readiness

func CheckStatefulSetIsReady

func CheckStatefulSetIsReady(cli appsv1client.StatefulSetInterface, name string) func() (bool, error)

CheckStatefulSetIsReady returns a function which polls a StatefulSet and returns its readiness

func CheckTemplateInstanceIsReady

func CheckTemplateInstanceIsReady(cli templatev1client.TemplateInstanceInterface, name string) func() (bool, error)

CheckTemplateInstanceIsReady returns a function which polls a TemplateInstance and returns its readiness

func ClusterServiceBrokerIsReady

func ClusterServiceBrokerIsReady(csb *csbv1beta1.ClusterServiceBroker) bool

ClusterServiceBrokerIsReady returns true if a ClusterServiceBroker is considered ready

func CustomResourceDefinitionIsReady

func CustomResourceDefinitionIsReady(crd *kapiextensionsv1beta1.CustomResourceDefinition) bool

CustomResourceDefinitionIsReady returns true if a CustomResourceDefinition is considered ready

func DaemonSetIsReady

func DaemonSetIsReady(ds *appsv1.DaemonSet) bool

DaemonSetIsReady returns true if a DaemonSet is considered ready

func DeploymentConfigIsReady

func DeploymentConfigIsReady(dc *oappsv1.DeploymentConfig) bool

DeploymentConfigIsReady returns true if a DeploymentConfig is considered ready

func DeploymentIsReady

func DeploymentIsReady(d *appsv1.Deployment) bool

DeploymentIsReady returns true if a Deployment is considered ready

func JobIsReady

func JobIsReady(job *batchv1.Job) bool

JobIsReady returns true if a Job is considered ready

func NodeIsReady

func NodeIsReady(node *corev1.Node) bool

NodeIsReady returns true if a Node is considered ready

func PodHasPhase

func PodHasPhase(pod *corev1.Pod, phase corev1.PodPhase) bool

PodHasPhase returns true if the phase of a Pod matches the given input

func PodIsReady

func PodIsReady(pod *corev1.Pod) bool

PodIsReady returns true if a Pod is considered ready

func ServiceIsReady

func ServiceIsReady(svc *corev1.Service) (bool, error)

ServiceIsReady returns true if a Service is considered ready

func StatefulSetIsReady

func StatefulSetIsReady(ss *appsv1.StatefulSet) bool

StatefulSetIsReady returns true if a StatefulSet is considered ready

func TemplateInstanceIsReady

func TemplateInstanceIsReady(ti *templatev1.TemplateInstance) (bool, error)

TemplateInstanceIsReady returns true if a TemplateInstance is considered ready

Types

This section is empty.

Jump to

Keyboard shortcuts

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