Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockSubnetClientInject
- type MockSubnetClientInjectMockRecorder
- type MockSubnetControl
- func (m *MockSubnetControl) Create(ctx context.Context, name string) error
- func (m *MockSubnetControl) DeclareSubnetHasNoMoreIP(ctx context.Context, subnetID string, hasNoMoreIP bool) error
- func (m *MockSubnetControl) EXPECT() *MockSubnetControlMockRecorder
- func (m *MockSubnetControl) Get(name string) (*v1alpha1.Subnet, error)
- type MockSubnetControlMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSubnetClientInject ¶
type MockSubnetClientInject struct {
// contains filtered or unexported fields
}
MockSubnetClientInject is a mock of SubnetClientInject interface
func NewMockSubnetClientInject ¶
func NewMockSubnetClientInject(ctrl *gomock.Controller) *MockSubnetClientInject
NewMockSubnetClientInject creates a new mock instance
func (*MockSubnetClientInject) EXPECT ¶
func (m *MockSubnetClientInject) EXPECT() *MockSubnetClientInjectMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSubnetClientInject) InjectSubnetClient ¶
func (m *MockSubnetClientInject) InjectSubnetClient(sbnClient subnet.SubnetControl) error
InjectSubnetClient mocks base method
type MockSubnetClientInjectMockRecorder ¶
type MockSubnetClientInjectMockRecorder struct {
// contains filtered or unexported fields
}
MockSubnetClientInjectMockRecorder is the mock recorder for MockSubnetClientInject
func (*MockSubnetClientInjectMockRecorder) InjectSubnetClient ¶
func (mr *MockSubnetClientInjectMockRecorder) InjectSubnetClient(sbnClient interface{}) *gomock.Call
InjectSubnetClient indicates an expected call of InjectSubnetClient
type MockSubnetControl ¶
type MockSubnetControl struct {
// contains filtered or unexported fields
}
MockSubnetControl is a mock of SubnetControl interface
func NewMockSubnetControl ¶
func NewMockSubnetControl(ctrl *gomock.Controller) *MockSubnetControl
NewMockSubnetControl creates a new mock instance
func (*MockSubnetControl) Create ¶
func (m *MockSubnetControl) Create(ctx context.Context, name string) error
Create mocks base method
func (*MockSubnetControl) DeclareSubnetHasNoMoreIP ¶
func (m *MockSubnetControl) DeclareSubnetHasNoMoreIP(ctx context.Context, subnetID string, hasNoMoreIP bool) error
DeclareSubnetHasNoMoreIP mocks base method
func (*MockSubnetControl) EXPECT ¶
func (m *MockSubnetControl) EXPECT() *MockSubnetControlMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockSubnetControlMockRecorder ¶
type MockSubnetControlMockRecorder struct {
// contains filtered or unexported fields
}
MockSubnetControlMockRecorder is the mock recorder for MockSubnetControl
func (*MockSubnetControlMockRecorder) Create ¶
func (mr *MockSubnetControlMockRecorder) Create(ctx, name interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockSubnetControlMockRecorder) DeclareSubnetHasNoMoreIP ¶
func (mr *MockSubnetControlMockRecorder) DeclareSubnetHasNoMoreIP(ctx, subnetID, hasNoMoreIP interface{}) *gomock.Call
DeclareSubnetHasNoMoreIP indicates an expected call of DeclareSubnetHasNoMoreIP
func (*MockSubnetControlMockRecorder) Get ¶
func (mr *MockSubnetControlMockRecorder) Get(name interface{}) *gomock.Call
Get indicates an expected call of Get