Documentation ¶
Overview ¶
Package legacyapimock is a generated GoMock package.
Package legacyapimock is a generated GoMock package.
Package legacyapimock is a generated GoMock package.
Index ¶
- type MockIPAMAPI
- type MockIPAMAPIMockRecorder
- type MockIPAMAddressAPI
- func (m *MockIPAMAddressAPI) Create(arg0 context.Context, arg1 address.Create) (address.Summary, error)
- func (m *MockIPAMAddressAPI) Delete(arg0 context.Context, arg1 string) error
- func (m *MockIPAMAddressAPI) EXPECT() *MockIPAMAddressAPIMockRecorder
- func (m *MockIPAMAddressAPI) Get(arg0 context.Context, arg1 string) (address.Address, error)
- func (m *MockIPAMAddressAPI) GetFiltered(arg0 context.Context, arg1, arg2 int, arg3 ...param.Parameter) ([]address.Summary, error)
- func (m *MockIPAMAddressAPI) List(arg0 context.Context, arg1, arg2 int, arg3 string) ([]address.Summary, error)
- func (m *MockIPAMAddressAPI) ReserveRandom(arg0 context.Context, arg1 address.ReserveRandom) (address.ReserveRandomSummary, error)
- func (m *MockIPAMAddressAPI) Update(arg0 context.Context, arg1 string, arg2 address.Update) (address.Summary, error)
- type MockIPAMAddressAPIMockRecorder
- func (mr *MockIPAMAddressAPIMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIPAMAddressAPIMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIPAMAddressAPIMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIPAMAddressAPIMockRecorder) GetFiltered(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockIPAMAddressAPIMockRecorder) List(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockIPAMAddressAPIMockRecorder) ReserveRandom(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIPAMAddressAPIMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockIPAMPrefixAPI
- func (m *MockIPAMPrefixAPI) Create(arg0 context.Context, arg1 prefix.Create) (prefix.Summary, error)
- func (m *MockIPAMPrefixAPI) Delete(arg0 context.Context, arg1 string) error
- func (m *MockIPAMPrefixAPI) EXPECT() *MockIPAMPrefixAPIMockRecorder
- func (m *MockIPAMPrefixAPI) Get(arg0 context.Context, arg1 string) (prefix.Info, error)
- func (m *MockIPAMPrefixAPI) List(arg0 context.Context, arg1, arg2 int) ([]prefix.Summary, error)
- func (m *MockIPAMPrefixAPI) Update(arg0 context.Context, arg1 string, arg2 prefix.Update) (prefix.Summary, error)
- type MockIPAMPrefixAPIMockRecorder
- func (mr *MockIPAMPrefixAPIMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIPAMPrefixAPIMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIPAMPrefixAPIMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIPAMPrefixAPIMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIPAMPrefixAPIMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIPAMAPI ¶
type MockIPAMAPI struct {
// contains filtered or unexported fields
}
MockIPAMAPI is a mock of API interface.
func NewMockIPAMAPI ¶
func NewMockIPAMAPI(ctrl *gomock.Controller) *MockIPAMAPI
NewMockIPAMAPI creates a new mock instance.
func (*MockIPAMAPI) Address ¶
func (m *MockIPAMAPI) Address() address.API
Address mocks base method.
func (*MockIPAMAPI) EXPECT ¶
func (m *MockIPAMAPI) EXPECT() *MockIPAMAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIPAMAPIMockRecorder ¶
type MockIPAMAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockIPAMAPIMockRecorder is the mock recorder for MockIPAMAPI.
func (*MockIPAMAPIMockRecorder) Address ¶
func (mr *MockIPAMAPIMockRecorder) Address() *gomock.Call
Address indicates an expected call of Address.
func (*MockIPAMAPIMockRecorder) Prefix ¶
func (mr *MockIPAMAPIMockRecorder) Prefix() *gomock.Call
Prefix indicates an expected call of Prefix.
type MockIPAMAddressAPI ¶
type MockIPAMAddressAPI struct {
// contains filtered or unexported fields
}
MockIPAMAddressAPI is a mock of API interface.
func NewMockIPAMAddressAPI ¶
func NewMockIPAMAddressAPI(ctrl *gomock.Controller) *MockIPAMAddressAPI
NewMockIPAMAddressAPI creates a new mock instance.
func (*MockIPAMAddressAPI) Create ¶
func (m *MockIPAMAddressAPI) Create(arg0 context.Context, arg1 address.Create) (address.Summary, error)
Create mocks base method.
func (*MockIPAMAddressAPI) Delete ¶
func (m *MockIPAMAddressAPI) Delete(arg0 context.Context, arg1 string) error
Delete mocks base method.
func (*MockIPAMAddressAPI) EXPECT ¶
func (m *MockIPAMAddressAPI) EXPECT() *MockIPAMAddressAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIPAMAddressAPI) GetFiltered ¶
func (m *MockIPAMAddressAPI) GetFiltered(arg0 context.Context, arg1, arg2 int, arg3 ...param.Parameter) ([]address.Summary, error)
GetFiltered mocks base method.
func (*MockIPAMAddressAPI) List ¶
func (m *MockIPAMAddressAPI) List(arg0 context.Context, arg1, arg2 int, arg3 string) ([]address.Summary, error)
List mocks base method.
func (*MockIPAMAddressAPI) ReserveRandom ¶
func (m *MockIPAMAddressAPI) ReserveRandom(arg0 context.Context, arg1 address.ReserveRandom) (address.ReserveRandomSummary, error)
ReserveRandom mocks base method.
type MockIPAMAddressAPIMockRecorder ¶
type MockIPAMAddressAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockIPAMAddressAPIMockRecorder is the mock recorder for MockIPAMAddressAPI.
func (*MockIPAMAddressAPIMockRecorder) Create ¶
func (mr *MockIPAMAddressAPIMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockIPAMAddressAPIMockRecorder) Delete ¶
func (mr *MockIPAMAddressAPIMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockIPAMAddressAPIMockRecorder) Get ¶
func (mr *MockIPAMAddressAPIMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockIPAMAddressAPIMockRecorder) GetFiltered ¶
func (mr *MockIPAMAddressAPIMockRecorder) GetFiltered(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
GetFiltered indicates an expected call of GetFiltered.
func (*MockIPAMAddressAPIMockRecorder) List ¶
func (mr *MockIPAMAddressAPIMockRecorder) List(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockIPAMAddressAPIMockRecorder) ReserveRandom ¶
func (mr *MockIPAMAddressAPIMockRecorder) ReserveRandom(arg0, arg1 interface{}) *gomock.Call
ReserveRandom indicates an expected call of ReserveRandom.
func (*MockIPAMAddressAPIMockRecorder) Update ¶
func (mr *MockIPAMAddressAPIMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockIPAMPrefixAPI ¶
type MockIPAMPrefixAPI struct {
// contains filtered or unexported fields
}
MockIPAMPrefixAPI is a mock of API interface.
func NewMockIPAMPrefixAPI ¶
func NewMockIPAMPrefixAPI(ctrl *gomock.Controller) *MockIPAMPrefixAPI
NewMockIPAMPrefixAPI creates a new mock instance.
func (*MockIPAMPrefixAPI) Create ¶
func (m *MockIPAMPrefixAPI) Create(arg0 context.Context, arg1 prefix.Create) (prefix.Summary, error)
Create mocks base method.
func (*MockIPAMPrefixAPI) Delete ¶
func (m *MockIPAMPrefixAPI) Delete(arg0 context.Context, arg1 string) error
Delete mocks base method.
func (*MockIPAMPrefixAPI) EXPECT ¶
func (m *MockIPAMPrefixAPI) EXPECT() *MockIPAMPrefixAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIPAMPrefixAPIMockRecorder ¶
type MockIPAMPrefixAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockIPAMPrefixAPIMockRecorder is the mock recorder for MockIPAMPrefixAPI.
func (*MockIPAMPrefixAPIMockRecorder) Create ¶
func (mr *MockIPAMPrefixAPIMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockIPAMPrefixAPIMockRecorder) Delete ¶
func (mr *MockIPAMPrefixAPIMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockIPAMPrefixAPIMockRecorder) Get ¶
func (mr *MockIPAMPrefixAPIMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockIPAMPrefixAPIMockRecorder) List ¶
func (mr *MockIPAMPrefixAPIMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockIPAMPrefixAPIMockRecorder) Update ¶
func (mr *MockIPAMPrefixAPIMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.