Documentation ¶
Overview ¶
Package apimock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) AddIP(arg0 context.Context, arg1 string, arg2 api.AddIPParams) (api.IP, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Failover(arg0 context.Context, arg1 string) error
- func (m *MockClient) GetIP(arg0 context.Context, arg1 string) (api.IP, error)
- func (m *MockClient) ListIPs(arg0 context.Context) ([]api.IP, error)
- func (m *MockClient) RemoveIP(arg0 context.Context, arg1 string) error
- func (m *MockClient) UpdateIP(arg0 context.Context, arg1 string, arg2 api.UpdateIPParams) (api.IP, error)
- func (m *MockClient) Version(arg0 context.Context) (string, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) AddIP(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Failover(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetIP(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListIPs(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RemoveIP(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateIP(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Version(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) AddIP ¶
func (m *MockClient) AddIP(arg0 context.Context, arg1 string, arg2 api.AddIPParams) (api.IP, error)
AddIP mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) Failover ¶
func (m *MockClient) Failover(arg0 context.Context, arg1 string) error
Failover mocks base method.
func (*MockClient) RemoveIP ¶
func (m *MockClient) RemoveIP(arg0 context.Context, arg1 string) error
RemoveIP mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) AddIP ¶
func (mr *MockClientMockRecorder) AddIP(arg0, arg1, arg2 interface{}) *gomock.Call
AddIP indicates an expected call of AddIP.
func (*MockClientMockRecorder) Failover ¶
func (mr *MockClientMockRecorder) Failover(arg0, arg1 interface{}) *gomock.Call
Failover indicates an expected call of Failover.
func (*MockClientMockRecorder) GetIP ¶
func (mr *MockClientMockRecorder) GetIP(arg0, arg1 interface{}) *gomock.Call
GetIP indicates an expected call of GetIP.
func (*MockClientMockRecorder) ListIPs ¶
func (mr *MockClientMockRecorder) ListIPs(arg0 interface{}) *gomock.Call
ListIPs indicates an expected call of ListIPs.
func (*MockClientMockRecorder) RemoveIP ¶
func (mr *MockClientMockRecorder) RemoveIP(arg0, arg1 interface{}) *gomock.Call
RemoveIP indicates an expected call of RemoveIP.
func (*MockClientMockRecorder) UpdateIP ¶
func (mr *MockClientMockRecorder) UpdateIP(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateIP indicates an expected call of UpdateIP.
func (*MockClientMockRecorder) Version ¶
func (mr *MockClientMockRecorder) Version(arg0 interface{}) *gomock.Call
Version indicates an expected call of Version.