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 ¶
ForManagerDeletion is used to wait until manager is deleted
func (Contrail) ForSwiftActive ¶
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 ¶
ForDeployment is used to wait until Deployment is created
func (Wait) ForReadyDeployment ¶
ForReadyDeployment is used to wait until Deployment is ready
func (Wait) ForReadyStatefulSet ¶
ForReadyStatefulSet is used to wait until StatefulSet is ready
func (Wait) ForStatefulSet ¶
ForStatefulSet is used to wait until StatefulSet is created
Click to show internal directories.
Click to hide internal directories.