conditions

package
v2.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindConditionByType

func FindConditionByType(conditions []status.Condition, conditionType status.ConditionType) (status.Condition, bool)

func MatchCondition

func MatchCondition(expected status.Condition) types.GomegaMatcher

MatchCondition returns the GomegaMatcher that checks if the 'actual' status.Condition matches the 'expected' one.

func MatchConditions

func MatchConditions(expected ...status.Condition) []types.GomegaMatcher

MatchConditions is a convenience method that allows to create the range of matchers simplifying testing

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL