Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockAPIer
- func (m *MockAPIer) Delete(arg0 context.Context, arg1 string, arg2 url.Values) ([]byte, error)
- func (m *MockAPIer) DeleteBody(arg0 context.Context, arg1 string, arg2 url.Values) (io.ReadCloser, int, error)
- func (m *MockAPIer) DeleteInto(arg0 context.Context, arg1 string, arg2 url.Values, arg3 interface{}) error
- func (m *MockAPIer) EXPECT() *MockAPIerMockRecorder
- func (m *MockAPIer) Get(arg0 context.Context, arg1 string, arg2 url.Values) ([]byte, error)
- func (m *MockAPIer) GetBody(arg0 context.Context, arg1 string, arg2 url.Values) (io.ReadCloser, int, error)
- func (m *MockAPIer) GetInto(arg0 context.Context, arg1 string, arg2 url.Values, arg3 interface{}) error
- func (m *MockAPIer) Login(arg0 context.Context) error
- func (m *MockAPIer) Post(arg0 context.Context, arg1 string, arg2 url.Values, arg3 io.Reader) ([]byte, error)
- func (m *MockAPIer) PostBody(arg0 context.Context, arg1 string, arg2 url.Values, arg3 io.Reader) (io.ReadCloser, int, error)
- func (m *MockAPIer) PostInto(arg0 context.Context, arg1 string, arg2 url.Values, arg3 io.Reader, ...) error
- func (m *MockAPIer) Put(arg0 context.Context, arg1 string, arg2 url.Values, arg3 io.Reader) ([]byte, error)
- func (m *MockAPIer) PutBody(arg0 context.Context, arg1 string, arg2 url.Values, arg3 io.Reader) (io.ReadCloser, int, error)
- func (m *MockAPIer) PutInto(arg0 context.Context, arg1 string, arg2 url.Values, arg3 io.Reader, ...) error
- type MockAPIerMockRecorder
- func (mr *MockAPIerMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAPIerMockRecorder) DeleteBody(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAPIerMockRecorder) DeleteInto(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockAPIerMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAPIerMockRecorder) GetBody(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAPIerMockRecorder) GetInto(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockAPIerMockRecorder) Login(arg0 interface{}) *gomock.Call
- func (mr *MockAPIerMockRecorder) Post(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockAPIerMockRecorder) PostBody(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockAPIerMockRecorder) PostInto(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockAPIerMockRecorder) Put(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockAPIerMockRecorder) PutBody(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockAPIerMockRecorder) PutInto(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPIer ¶
type MockAPIer struct {
// contains filtered or unexported fields
}
MockAPIer is a mock of APIer interface.
func NewMockAPIer ¶
func NewMockAPIer(ctrl *gomock.Controller) *MockAPIer
NewMockAPIer creates a new mock instance.
func (*MockAPIer) DeleteBody ¶ added in v0.12.0
func (m *MockAPIer) DeleteBody(arg0 context.Context, arg1 string, arg2 url.Values) (io.ReadCloser, int, error)
DeleteBody mocks base method.
func (*MockAPIer) DeleteInto ¶ added in v0.12.0
func (m *MockAPIer) DeleteInto(arg0 context.Context, arg1 string, arg2 url.Values, arg3 interface{}) error
DeleteInto mocks base method.
func (*MockAPIer) EXPECT ¶
func (m *MockAPIer) EXPECT() *MockAPIerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAPIer) GetBody ¶ added in v0.12.0
func (m *MockAPIer) GetBody(arg0 context.Context, arg1 string, arg2 url.Values) (io.ReadCloser, int, error)
GetBody mocks base method.
func (*MockAPIer) GetInto ¶
func (m *MockAPIer) GetInto(arg0 context.Context, arg1 string, arg2 url.Values, arg3 interface{}) error
GetInto mocks base method.
func (*MockAPIer) Post ¶
func (m *MockAPIer) Post(arg0 context.Context, arg1 string, arg2 url.Values, arg3 io.Reader) ([]byte, error)
Post mocks base method.
func (*MockAPIer) PostBody ¶ added in v0.12.0
func (m *MockAPIer) PostBody(arg0 context.Context, arg1 string, arg2 url.Values, arg3 io.Reader) (io.ReadCloser, int, error)
PostBody mocks base method.
func (*MockAPIer) PostInto ¶
func (m *MockAPIer) PostInto(arg0 context.Context, arg1 string, arg2 url.Values, arg3 io.Reader, arg4 interface{}) error
PostInto mocks base method.
func (*MockAPIer) Put ¶ added in v0.12.0
func (m *MockAPIer) Put(arg0 context.Context, arg1 string, arg2 url.Values, arg3 io.Reader) ([]byte, error)
Put mocks base method.
type MockAPIerMockRecorder ¶
type MockAPIerMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIerMockRecorder is the mock recorder for MockAPIer.
func (*MockAPIerMockRecorder) Delete ¶ added in v0.12.0
func (mr *MockAPIerMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockAPIerMockRecorder) DeleteBody ¶ added in v0.12.0
func (mr *MockAPIerMockRecorder) DeleteBody(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteBody indicates an expected call of DeleteBody.
func (*MockAPIerMockRecorder) DeleteInto ¶ added in v0.12.0
func (mr *MockAPIerMockRecorder) DeleteInto(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DeleteInto indicates an expected call of DeleteInto.
func (*MockAPIerMockRecorder) Get ¶
func (mr *MockAPIerMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockAPIerMockRecorder) GetBody ¶ added in v0.12.0
func (mr *MockAPIerMockRecorder) GetBody(arg0, arg1, arg2 interface{}) *gomock.Call
GetBody indicates an expected call of GetBody.
func (*MockAPIerMockRecorder) GetInto ¶
func (mr *MockAPIerMockRecorder) GetInto(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetInto indicates an expected call of GetInto.
func (*MockAPIerMockRecorder) Login ¶ added in v0.12.0
func (mr *MockAPIerMockRecorder) Login(arg0 interface{}) *gomock.Call
Login indicates an expected call of Login.
func (*MockAPIerMockRecorder) Post ¶
func (mr *MockAPIerMockRecorder) Post(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Post indicates an expected call of Post.
func (*MockAPIerMockRecorder) PostBody ¶ added in v0.12.0
func (mr *MockAPIerMockRecorder) PostBody(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PostBody indicates an expected call of PostBody.
func (*MockAPIerMockRecorder) PostInto ¶
func (mr *MockAPIerMockRecorder) PostInto(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
PostInto indicates an expected call of PostInto.
func (*MockAPIerMockRecorder) Put ¶ added in v0.12.0
func (mr *MockAPIerMockRecorder) Put(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Put indicates an expected call of Put.
func (*MockAPIerMockRecorder) PutBody ¶ added in v0.12.0
func (mr *MockAPIerMockRecorder) PutBody(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PutBody indicates an expected call of PutBody.
func (*MockAPIerMockRecorder) PutInto ¶ added in v0.12.0
func (mr *MockAPIerMockRecorder) PutInto(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
PutInto indicates an expected call of PutInto.