Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HaveCondition ¶
func HaveCondition[T ~string](conditionType T, conditionStatus metav1.ConditionStatus) types.GomegaMatcher
HaveCondition creates a new HaveConditionMatcher.
Types ¶
type HaveConditionMatcher ¶
type HaveConditionMatcher struct {
// contains filtered or unexported fields
}
HaveConditionMatcher checks for a specific condition and status in a Kubernetes object.
func (*HaveConditionMatcher) FailureMessage ¶
func (matcher *HaveConditionMatcher) FailureMessage(actual interface{}) (message string)
FailureMessage is the message returned on matcher failure.
func (*HaveConditionMatcher) Match ¶
func (matcher *HaveConditionMatcher) Match(actual interface{}) (success bool, err error)
Match checks if the actual object has the specified condition and status.
func (*HaveConditionMatcher) NegatedFailureMessage ¶
func (matcher *HaveConditionMatcher) NegatedFailureMessage(actual interface{}) (message string)
NegatedFailureMessage is the message returned on negated matcher failure.
Click to show internal directories.
Click to hide internal directories.