Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeValidationError ¶ added in v0.5.0
func BeValidationError(expectedErrorType string, messageMatcher types.GomegaMatcher) types.GomegaMatcher
func RepresentResourceQuantity ¶ added in v0.3.0
func RepresentResourceQuantity(amount int64, scaleStr string) types.GomegaMatcher
func WrapErrorAssignableToTypeOf ¶
func WrapErrorAssignableToTypeOf(expected error) types.GomegaMatcher
Types ¶
type JSONPathMatcher ¶ added in v0.7.1
type JSONPathMatcher struct {
// contains filtered or unexported fields
}
func MatchJSONPath ¶ added in v0.7.1
func MatchJSONPath(path string, expected any) *JSONPathMatcher
func (JSONPathMatcher) FailureMessage ¶ added in v0.7.1
func (m JSONPathMatcher) FailureMessage(actual interface{}) string
func (*JSONPathMatcher) Match ¶ added in v0.7.1
func (m *JSONPathMatcher) Match(actual interface{}) (bool, error)
func (JSONPathMatcher) NegatedFailureMessage ¶ added in v0.7.1
func (m JSONPathMatcher) NegatedFailureMessage(actual interface{}) string
Click to show internal directories.
Click to hide internal directories.