mock

package
v1.9.6 Latest Latest
Warning

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

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

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

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

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

func (*MockSubnetControl) Get

func (m *MockSubnetControl) Get(name string) (*v1alpha1.Subnet, error)

Get mocks base method

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

Jump to

Keyboard shortcuts

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