Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chooser ¶
type Chooser struct {
// contains filtered or unexported fields
}
Chooser is a mock of Chooser interface
func NewChooser ¶
func NewChooser(ctrl *gomock.Controller) *Chooser
NewChooser creates a new mock instance
func (*Chooser) Choose ¶
func (m *Chooser) Choose(arg0 *http.Request, arg1 ...representation.Representation) (representation.Representation, error)
Choose mocks base method
func (*Chooser) EXPECT ¶
func (m *Chooser) EXPECT() *ChooserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type ChooserMockRecorder ¶
type ChooserMockRecorder struct {
// contains filtered or unexported fields
}
ChooserMockRecorder is the mock recorder for Chooser
func (*ChooserMockRecorder) Choose ¶
func (mr *ChooserMockRecorder) Choose(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Choose indicates an expected call of Choose
type MockResponseWriter ¶
type MockResponseWriter struct {
// contains filtered or unexported fields
}
MockResponseWriter is a mock of ResponseWriter interface
func NewMockResponseWriter ¶
func NewMockResponseWriter(ctrl *gomock.Controller) *MockResponseWriter
NewMockResponseWriter creates a new mock instance
func (*MockResponseWriter) EXPECT ¶
func (m *MockResponseWriter) EXPECT() *MockResponseWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResponseWriter) Header ¶
func (m *MockResponseWriter) Header() http.Header
Header mocks base method
func (*MockResponseWriter) Write ¶
func (m *MockResponseWriter) Write(arg0 []byte) (int, error)
Write mocks base method
func (*MockResponseWriter) WriteHeader ¶
func (m *MockResponseWriter) WriteHeader(arg0 int)
WriteHeader mocks base method
type MockResponseWriterMockRecorder ¶
type MockResponseWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockResponseWriterMockRecorder is the mock recorder for MockResponseWriter
func (*MockResponseWriterMockRecorder) Header ¶
func (mr *MockResponseWriterMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header
func (*MockResponseWriterMockRecorder) Write ¶
func (mr *MockResponseWriterMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write
func (*MockResponseWriterMockRecorder) WriteHeader ¶
func (mr *MockResponseWriterMockRecorder) WriteHeader(arg0 interface{}) *gomock.Call
WriteHeader indicates an expected call of WriteHeader