Documentation ¶
Index ¶
- func CheckDaemonSetIsReady(ctx context.Context, cli appsv1client.DaemonSetInterface, name string) func() (bool, error)
- func CheckDeploymentIsReady(ctx context.Context, cli appsv1client.DeploymentInterface, name string) func() (bool, error)
- func CheckMachineConfigPoolIsReady(ctx context.Context, cli mcoclientv1.MachineConfigPoolInterface, name string) func() (bool, error)
- func CheckPodIsRunning(ctx context.Context, cli corev1client.PodInterface, name string) func() (bool, error)
- func CheckPodsAreRunning(ctx context.Context, cli corev1client.PodInterface, labels map[string]string) func() (bool, error)
- func CheckStatefulSetIsReady(ctx context.Context, cli appsv1client.StatefulSetInterface, name string) func() (bool, error)
- func DaemonSetIsReady(ds *appsv1.DaemonSet) bool
- func DeploymentIsReady(d *appsv1.Deployment) bool
- func MachineConfigPoolIsReady(s *mcv1.MachineConfigPool) bool
- func NodeIsReady(node *corev1.Node) bool
- func PodIsRunning(p *corev1.Pod) bool
- func ServiceIsReady(svc *corev1.Service) bool
- func StatefulSetIsReady(s *appsv1.StatefulSet) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDaemonSetIsReady ¶
func CheckDaemonSetIsReady(ctx context.Context, cli appsv1client.DaemonSetInterface, name string) func() (bool, error)
CheckDaemonSetIsReady returns a function which polls a DaemonSet and returns its readiness
func CheckDeploymentIsReady ¶
func CheckDeploymentIsReady(ctx context.Context, cli appsv1client.DeploymentInterface, name string) func() (bool, error)
CheckDeploymentIsReady returns a function which polls a Deployment and returns its readiness
func CheckMachineConfigPoolIsReady ¶
func CheckMachineConfigPoolIsReady(ctx context.Context, cli mcoclientv1.MachineConfigPoolInterface, name string) func() (bool, error)
CheckMachineConfigPoolIsReady returns a function which polls a MachineConfigPool and returns its readiness
func CheckPodIsRunning ¶
func CheckPodIsRunning(ctx context.Context, cli corev1client.PodInterface, name string) func() (bool, error)
CheckPodIsRunning returns a function which polls a Pod and returns if it is running
func CheckPodsAreRunning ¶
func CheckPodsAreRunning(ctx context.Context, cli corev1client.PodInterface, labels map[string]string) func() (bool, error)
CheckPodsAreRunning returns a function which polls multiple Pods by label and returns if it is running
func CheckStatefulSetIsReady ¶
func CheckStatefulSetIsReady(ctx context.Context, cli appsv1client.StatefulSetInterface, name string) func() (bool, error)
CheckStatefulSetIsReady returns a function which polls a StatefulSet and returns its readiness
func DaemonSetIsReady ¶
DaemonSetIsReady returns true if a DaemonSet is considered ready
func DeploymentIsReady ¶
func DeploymentIsReady(d *appsv1.Deployment) bool
DeploymentIsReady returns true if a Deployment is considered ready
func MachineConfigPoolIsReady ¶
func MachineConfigPoolIsReady(s *mcv1.MachineConfigPool) bool
MachineConfigPoolIsReady returns true if a MachineConfigPool is considered ready
func NodeIsReady ¶
NodeIsReady returns true if a Node is considered ready
func PodIsRunning ¶
PodIsRunning returns true if a Pod is running
func ServiceIsReady ¶
ServiceIsReady returns true if a Service is considered ready
func StatefulSetIsReady ¶
func StatefulSetIsReady(s *appsv1.StatefulSet) bool
StatefulSetIsReady returns true if a StatefulSet is considered ready
Types ¶
This section is empty.