ready

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppsConditionFunc

type AppsConditionFunc func(appsFactory *apps.Factory, namespace, name string) (string, wait.ConditionFunc)

type Condition

type Condition struct {
	// contains filtered or unexported fields
}

func NewCondition

func NewCondition(name string, wc wait.ConditionFunc, interval, timeout time.Duration) *Condition

func NewDefaultCondition

func NewDefaultCondition(name string, wc wait.ConditionFunc) *Condition

func (*Condition) Wait

func (c *Condition) Wait(ctx context.Context) error

type ConditionList

type ConditionList []*Condition

func (ConditionList) Wait

func (cl ConditionList) Wait(ctx context.Context) error

type NamespaceCondition

type NamespaceCondition struct {
	// contains filtered or unexported fields
}

func NewNamespaceCondition

func NewNamespaceCondition(kubeConfig *restclient.Config, namespace string) (*NamespaceCondition, error)

func (*NamespaceCondition) AddAppsCondition

func (n *NamespaceCondition) AddAppsCondition(appsConditionFunc AppsConditionFunc, names ...string)

func (*NamespaceCondition) AddDaemonSetsClean

func (n *NamespaceCondition) AddDaemonSetsClean(names ...string)

func (*NamespaceCondition) AddDaemonSetsReady

func (n *NamespaceCondition) AddDaemonSetsReady(names ...string)

func (*NamespaceCondition) AddDeploymentsClean

func (n *NamespaceCondition) AddDeploymentsClean(names ...string)

func (*NamespaceCondition) AddDeploymentsReady

func (n *NamespaceCondition) AddDeploymentsReady(names ...string)

func (*NamespaceCondition) Wait

func (n *NamespaceCondition) Wait(ctx context.Context) error

Jump to

Keyboard shortcuts

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