mock_subnet

package
v0.0.0-...-37f2402 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_subnet is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockKubeManager) List

func (m *MockKubeManager) List(arg0 context.Context) ([]subnet.Subnet, error)

List mocks base method.

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

func (m *MockManager) CreateOrUpdate(arg0 context.Context, arg1 string, arg2 *network.Subnet) error

CreateOrUpdate mocks base method.

func (*MockManager) CreateOrUpdateFromIds

func (m *MockManager) CreateOrUpdateFromIds(arg0 context.Context, arg1 []string, arg2 bool) error

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

func (m *MockManager) Get(arg0 context.Context, arg1 string) (*network.Subnet, error)

Get mocks base method.

func (*MockManager) GetAll

func (m *MockManager) GetAll(arg0 context.Context, arg1 []string) ([]*network.Subnet, error)

GetAll mocks base method.

func (*MockManager) GetHighestFreeIP

func (m *MockManager) GetHighestFreeIP(arg0 context.Context, arg1 string) (string, error)

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.

Jump to

Keyboard shortcuts

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