apimock

package
v2.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package apimock is a generated GoMock package.

Index

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) GetIP

func (m *MockClient) GetIP(arg0 context.Context, arg1 string) (api.IP, error)

GetIP mocks base method.

func (*MockClient) ListIPs

func (m *MockClient) ListIPs(arg0 context.Context) ([]api.IP, error)

ListIPs mocks base method.

func (*MockClient) RemoveIP

func (m *MockClient) RemoveIP(arg0 context.Context, arg1 string) error

RemoveIP mocks base method.

func (*MockClient) UpdateIP

func (m *MockClient) UpdateIP(arg0 context.Context, arg1 string, arg2 api.UpdateIPParams) (api.IP, error)

UpdateIP mocks base method.

func (*MockClient) Version

func (m *MockClient) Version(arg0 context.Context) (string, error)

Version 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL