package
0.6.0
Repository: https://github.com/kubeflow/kubebench.git
Documentation: pkg.go.dev

# Functions

ExponentialBackoff repeats a condition check with exponential backoff.
Jitter returns a time.Duration between duration and duration + maxFactor * duration.
NewDeploymentV1beta1Condition creates a new DeploymentV1beta1Condition.
NewJobV1Condition creates a new JobV1Condition.
No description provided by the author
NewResourceCondition creates a new resource condition checker The type of the condition checker depends on the given resource.

# Constants

ResourceConditionFailure indicates failure condition met.
ResourceConditionSuccess indicates success condition met.
ResourceConditionTimeout indicates condition check timed out.
ResourceConditionUnknown indicates condition check returned unknown status or error.

# Variables

ErrWaitTimeout is returned when the condition exited without success.

# Structs

Backoff holds parameters applied to a Backoff function.
DeploymentV1beta1Condition is a condition checker for deployments in extensions/v1beta1.
JobV1Condition is a condition checker for jobs in batch/v1.
No description provided by the author

# Interfaces

ResourceConditionInterface is the interface of resource condition checkers.

# Type aliases

ConditionFunc returns true if the condition is satisfied, or an error if the loop should be aborted.
ResourceConditionStatus is the status of a resource condition check.