xpconditions

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conditions

type Conditions struct {
	apimachineryconditions.Condition
	// contains filtered or unexported fields
}

Conditions helps with matching resources on conditions

func New

New is constructor for Conditions

func (*Conditions) IsManagedResourceReadyAndReady

func (c *Conditions) IsManagedResourceReadyAndReady(object k8s.Object) bool

IsManagedResourceReadyAndReady returns if a managed resource has condtions Synced = True and Ready = True

func (*Conditions) ManagedResourcesReadyAndReady

func (c *Conditions) ManagedResourcesReadyAndReady(
	list k8s.ObjectList,
) apimachinerywait.ConditionWithContextFunc

ManagedResourcesReadyAndReady checks if a list of ManagedResources has a matching condition

func (*Conditions) ProviderConditionMatch

func (c *Conditions) ProviderConditionMatch(
	name string,
	conditionType string,
	conditionStatus corev1.ConditionStatus,
) apimachinerywait.ConditionWithContextFunc

ProviderConditionMatch checks if a Provider has a matching condition

Jump to

Keyboard shortcuts

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