Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockResponder ¶
type MockResponder struct {
// contains filtered or unexported fields
}
MockResponder is a mock for `k8s.io/apiserver/pkg/registry/rest/rest.go:292 => Responder interface`
func NewResponder ¶
func NewResponder(response *httptest.ResponseRecorder) *MockResponder
NewResponder creates an instance of MockResponder
func (*MockResponder) Error ¶
func (f *MockResponder) Error(err error)
Error implements Responder interface
Click to show internal directories.
Click to hide internal directories.