Documentation ¶
Index ¶
- func BeAlreadyExistsError() types.GomegaMatcher
- func BeBadRequestError() types.GomegaMatcher
- func BeForbiddenError() types.GomegaMatcher
- func BeInternalServerError() types.GomegaMatcher
- func BeInvalidError() types.GomegaMatcher
- func BeMissingKindError() types.GomegaMatcher
- func BeNoMatchError() types.GomegaMatcher
- func BeNotFoundError() types.GomegaMatcher
- func BeNotRegisteredError() types.GomegaMatcher
- func DeepDerivativeEqual(expected interface{}) types.GomegaMatcher
- func DeepEqual(expected interface{}) types.GomegaMatcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeAlreadyExistsError ¶
func BeAlreadyExistsError() types.GomegaMatcher
BeAlreadyExistsError checks if error is AlreadyExists.
func BeBadRequestError ¶
func BeBadRequestError() types.GomegaMatcher
BeBadRequestError checks if error is BadRequest.
func BeForbiddenError ¶
func BeForbiddenError() types.GomegaMatcher
BeForbiddenError checks if error is Forbidden.
func BeInternalServerError ¶
func BeInternalServerError() types.GomegaMatcher
BeInternalServerError checks if error is a InternalServerError.
func BeInvalidError ¶
func BeInvalidError() types.GomegaMatcher
BeInvalidError checks if error is an InvalidError.
func BeMissingKindError ¶
func BeMissingKindError() types.GomegaMatcher
BeMissingKindError checks if error is a MissingKindError.
func BeNoMatchError ¶
func BeNoMatchError() types.GomegaMatcher
BeNoMatchError checks if error is a NoMatchError.
func BeNotFoundError ¶
func BeNotFoundError() types.GomegaMatcher
BeNotFoundError checks if error is NotFound.
func BeNotRegisteredError ¶
func BeNotRegisteredError() types.GomegaMatcher
BeNotRegisteredError checks if error is NotRegistered.
func DeepDerivativeEqual ¶
func DeepDerivativeEqual(expected interface{}) types.GomegaMatcher
DeepDerivativeEqual is similar to DeepEqual except that unset fields in actual are ignored (not compared). This allows us to focus on the fields that matter to the semantic comparison.
func DeepEqual ¶
func DeepEqual(expected interface{}) types.GomegaMatcher
DeepEqual returns a Gomega matcher which checks whether the expected object is deeply equal with the object it is being compared against.
Types ¶
This section is empty.