Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDaemonSet ¶
CheckDaemonSet inspects a daemon set for stability
func CheckDeployment ¶
func CheckDeployment(deployment *appsv1.Deployment) error
CheckDeployment inspects a deployment for stability
func CheckStatefulSet ¶
func CheckStatefulSet(sts *appsv1.StatefulSet) error
CheckStatefulSet inspects a stateful set for stability
Types ¶
type StabilityError ¶
type StabilityError struct {
// The reason for the stability error
Reason string
// The object on which the stability problem was detected
TargetRef corev1.ObjectReference
// The minimum amount of time until the object is expected to stabilize, if left unspecified there is no expectation of stability
RetryAfter time.Duration
}
StabilityError indicates that the cluster has not reached a sufficiently stable state
func (*StabilityError) Error ¶
func (e *StabilityError) Error() string
Error returns the summary about why the stability check failed
Click to show internal directories.
Click to hide internal directories.