Documentation ¶
Overview ¶
Package mock_subnet is a generated GoMock package.
Index ¶
- type MockKubeManager
- type MockKubeManagerMockRecorder
- type MockManager
- func (m *MockManager) CreateOrUpdate(arg0 context.Context, arg1 string, arg2 *network.Subnet) error
- func (m *MockManager) CreateOrUpdateFromIds(arg0 context.Context, arg1 []string, arg2 bool) error
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) Get(arg0 context.Context, arg1 string) (*network.Subnet, error)
- func (m *MockManager) GetAll(arg0 context.Context, arg1 []string) ([]*network.Subnet, error)
- func (m *MockManager) GetHighestFreeIP(arg0 context.Context, arg1 string) (string, error)
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) CreateOrUpdate(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) CreateOrUpdateFromIds(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetAll(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetHighestFreeIP(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockKubeManager ¶
type MockKubeManager struct {
// contains filtered or unexported fields
}
MockKubeManager is a mock of KubeManager interface.
func NewMockKubeManager ¶
func NewMockKubeManager(ctrl *gomock.Controller) *MockKubeManager
NewMockKubeManager creates a new mock instance.
func (*MockKubeManager) EXPECT ¶
func (m *MockKubeManager) EXPECT() *MockKubeManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockKubeManagerMockRecorder ¶
type MockKubeManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockKubeManagerMockRecorder is the mock recorder for MockKubeManager.
func (*MockKubeManagerMockRecorder) List ¶
func (mr *MockKubeManagerMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface.
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance.
func (*MockManager) CreateOrUpdate ¶
CreateOrUpdate mocks base method.
func (*MockManager) CreateOrUpdateFromIds ¶
CreateOrUpdateFromIds mocks base method.
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManager) GetHighestFreeIP ¶
GetHighestFreeIP mocks base method.
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) CreateOrUpdate ¶
func (mr *MockManagerMockRecorder) CreateOrUpdate(arg0, arg1, arg2 interface{}) *gomock.Call
CreateOrUpdate indicates an expected call of CreateOrUpdate.
func (*MockManagerMockRecorder) CreateOrUpdateFromIds ¶
func (mr *MockManagerMockRecorder) CreateOrUpdateFromIds(arg0, arg1, arg2 interface{}) *gomock.Call
CreateOrUpdateFromIds indicates an expected call of CreateOrUpdateFromIds.
func (*MockManagerMockRecorder) Get ¶
func (mr *MockManagerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockManagerMockRecorder) GetAll ¶
func (mr *MockManagerMockRecorder) GetAll(arg0, arg1 interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockManagerMockRecorder) GetHighestFreeIP ¶
func (mr *MockManagerMockRecorder) GetHighestFreeIP(arg0, arg1 interface{}) *gomock.Call
GetHighestFreeIP indicates an expected call of GetHighestFreeIP.