wait

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contrail

type Contrail struct {
	Namespace     string
	RetryInterval time.Duration
	Timeout       time.Duration
	Client        test.FrameworkClient
	Logger        logger.Logger
}

Contrail is used to wait until certain contrail resources reach some condition

func (Contrail) ForManagerCondition

func (c Contrail) ForManagerCondition(name string, expected contrail.ManagerConditionType) error

ForManagerCondition is used to wait until manager has expected condition met

func (Contrail) ForManagerDeletion

func (c Contrail) ForManagerDeletion(name string) error

ForManagerDeletion is used to wait until manager is deleted

func (Contrail) ForSwiftActive

func (c Contrail) ForSwiftActive(name string) error

ForManagerCondition is used to wait until manager has expected condition met

type Wait

type Wait struct {
	Namespace     string
	RetryInterval time.Duration
	Timeout       time.Duration
	KubeClient    kubernetes.Interface
	Logger        logger.Logger
}

Wait is used to wait until certain resource reach some condition

func (Wait) ForDeployment

func (w Wait) ForDeployment(name string) error

ForDeployment is used to wait until Deployment is created

func (Wait) ForReadyDeployment

func (w Wait) ForReadyDeployment(name string) error

ForReadyDeployment is used to wait until Deployment is ready

func (Wait) ForReadyStatefulSet

func (w Wait) ForReadyStatefulSet(name string) error

ForReadyStatefulSet is used to wait until StatefulSet is ready

func (Wait) ForStatefulSet

func (w Wait) ForStatefulSet(name string) error

ForStatefulSet is used to wait until StatefulSet is created

Jump to

Keyboard shortcuts

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