Documentation ¶
Index ¶
- func AssertHandlerReturnErrorIfGVKMismatch(t *testing.T, handler TestDecoderHandler, kind string)
- func AssertHandlerReturnErrorIfReqObjIsMalformed(t *testing.T, handler TestDecoderHandler, kind string)
- func DiscardLoggedMsg()
- func FilterOutStatusPatch(operations []jsonpatch.JsonPatchOperation) []jsonpatch.JsonPatchOperation
- type TestDecoderHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertHandlerReturnErrorIfGVKMismatch ¶
func AssertHandlerReturnErrorIfGVKMismatch(t *testing.T, handler TestDecoderHandler, kind string)
AssertHandlerReturnErrorIfGVKMismatch checks error handling when wrong type of object is passed
func AssertHandlerReturnErrorIfReqObjIsMalformed ¶
func AssertHandlerReturnErrorIfReqObjIsMalformed(t *testing.T, handler TestDecoderHandler, kind string)
AssertHandlerReturnErrorIfReqObjIsMalformed checks error handling of malformed requests
func FilterOutStatusPatch ¶
func FilterOutStatusPatch(operations []jsonpatch.JsonPatchOperation) []jsonpatch.JsonPatchOperation
FilterOutStatusPatch filters out the status operation
Types ¶
Click to show internal directories.
Click to hide internal directories.