Documentation ¶
Index ¶
- func Contain(conditions []metav1.Condition, options ...Option) bool
- type Option
- func Not(option Option) Option
- func WithCondition(condition metav1.Condition) Option
- func WithLastTransitionTime(lastTransitionTime metav1.Time) Option
- func WithMessage(message string) Option
- func WithReason(reason string) Option
- func WithStatus(status metav1.ConditionStatus) Option
- func WithType(conditionType string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
Option is a functional option for specifying conditions to match.
func WithCondition ¶
WithCondition returns a ConditionOption that matches conditions with the given condition.
func WithLastTransitionTime ¶
WithLastTransitionTime returns a ConditionOption that matches conditions with the given last transition time.
func WithMessage ¶
WithMessage returns a ConditionOption that matches conditions with the given message.
func WithReason ¶
WithReason returns a ConditionOption that matches conditions with the given reason.
func WithStatus ¶
func WithStatus(status metav1.ConditionStatus) Option
WithStatus returns a ConditionOption that matches conditions with the given status.
Click to show internal directories.
Click to hide internal directories.