mock_subnet

package
v0.0.0-...-1bc1da6 Latest Latest
Warning

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

Go to latest
Published: Dec 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 any) *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) 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.

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 any) *gomock.Call

CreateOrUpdate indicates an expected call of CreateOrUpdate.

func (*MockManagerMockRecorder) Get

func (mr *MockManagerMockRecorder) Get(arg0, arg1 any) *gomock.Call

Get indicates an expected call of Get.

func (*MockManagerMockRecorder) GetAll

func (mr *MockManagerMockRecorder) GetAll(arg0, arg1 any) *gomock.Call

GetAll indicates an expected call of GetAll.

Jump to

Keyboard shortcuts

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