testing

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 testing is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExclusiveEniInterface

type MockExclusiveEniInterface struct {
	// contains filtered or unexported fields
}

MockExclusiveEniInterface is a mock of ExclusiveEniInterface interface

func NewMockExclusiveEniInterface

func NewMockExclusiveEniInterface(ctrl *gomock.Controller) *MockExclusiveEniInterface

NewMockExclusiveEniInterface creates a new mock instance

func (*MockExclusiveEniInterface) Allocate

func (m *MockExclusiveEniInterface) Allocate(ctx context.Context, name, namespace, containerID string) (*v1alpha1.CrossVPCEni, error)

Allocate mocks base method

func (*MockExclusiveEniInterface) EXPECT

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

func (*MockExclusiveEniInterface) Release

func (m *MockExclusiveEniInterface) Release(ctx context.Context, name, namespace, containerID string) (*v1alpha1.CrossVPCEni, error)

Release mocks base method

func (*MockExclusiveEniInterface) Run

func (m *MockExclusiveEniInterface) Run(ctx context.Context, stopCh <-chan struct{}) error

Run mocks base method

type MockExclusiveEniInterfaceMockRecorder

type MockExclusiveEniInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockExclusiveEniInterfaceMockRecorder is the mock recorder for MockExclusiveEniInterface

func (*MockExclusiveEniInterfaceMockRecorder) Allocate

func (mr *MockExclusiveEniInterfaceMockRecorder) Allocate(ctx, name, namespace, containerID interface{}) *gomock.Call

Allocate indicates an expected call of Allocate

func (*MockExclusiveEniInterfaceMockRecorder) Release

func (mr *MockExclusiveEniInterfaceMockRecorder) Release(ctx, name, namespace, containerID interface{}) *gomock.Call

Release indicates an expected call of Release

func (*MockExclusiveEniInterfaceMockRecorder) Run

func (mr *MockExclusiveEniInterfaceMockRecorder) Run(ctx, stopCh interface{}) *gomock.Call

Run indicates an expected call of Run

type MockInterface

type MockInterface struct {
	// contains filtered or unexported fields
}

MockInterface is a mock of Interface interface

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance

func (*MockInterface) Allocate

func (m *MockInterface) Allocate(ctx context.Context, name, namespace, containerID string) (*v1alpha1.WorkloadEndpoint, error)

Allocate mocks base method

func (*MockInterface) EXPECT

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

func (*MockInterface) Ready

func (m *MockInterface) Ready(ctx context.Context) bool

Ready mocks base method

func (*MockInterface) Release

func (m *MockInterface) Release(ctx context.Context, name, namespace, containerID string) (*v1alpha1.WorkloadEndpoint, error)

Release mocks base method

func (*MockInterface) Run

func (m *MockInterface) Run(ctx context.Context, stopCh <-chan struct{}) error

Run mocks base method

type MockInterfaceMockRecorder

type MockInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockInterfaceMockRecorder is the mock recorder for MockInterface

func (*MockInterfaceMockRecorder) Allocate

func (mr *MockInterfaceMockRecorder) Allocate(ctx, name, namespace, containerID interface{}) *gomock.Call

Allocate indicates an expected call of Allocate

func (*MockInterfaceMockRecorder) Ready

func (mr *MockInterfaceMockRecorder) Ready(ctx interface{}) *gomock.Call

Ready indicates an expected call of Ready

func (*MockInterfaceMockRecorder) Release

func (mr *MockInterfaceMockRecorder) Release(ctx, name, namespace, containerID interface{}) *gomock.Call

Release indicates an expected call of Release

func (*MockInterfaceMockRecorder) Run

func (mr *MockInterfaceMockRecorder) Run(ctx, stopCh interface{}) *gomock.Call

Run indicates an expected call of Run

type MockRoceInterface added in v1.6.12

type MockRoceInterface struct {
	// contains filtered or unexported fields
}

MockRoceInterface is a mock of RoceInterface interface

func NewMockRoceInterface added in v1.6.12

func NewMockRoceInterface(ctrl *gomock.Controller) *MockRoceInterface

NewMockRoceInterface creates a new mock instance.

func (*MockRoceInterface) Allocate added in v1.6.12

func (m *MockRoceInterface) Allocate(arg0 context.Context, arg1, arg2, arg3, arg4 string, arg5 rpc.IPType) (*v1alpha1.WorkloadEndpoint, error)

Allocate mocks base method.

func (*MockRoceInterface) EXPECT added in v1.6.12

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

func (*MockRoceInterface) Ready added in v1.6.12

func (m *MockRoceInterface) Ready(arg0 context.Context) bool

Ready mocks base method.

func (*MockRoceInterface) Release added in v1.6.12

func (m *MockRoceInterface) Release(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.WorkloadEndpoint, error)

Release mocks base method.

func (*MockRoceInterface) Run added in v1.6.12

func (m *MockRoceInterface) Run(arg0 context.Context, arg1 <-chan struct{}) error

Run mocks base method.

type MockRoceInterfaceMockRecorder added in v1.6.12

type MockRoceInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockRoceInterfaceMockRecorder is the mock recorder for MockRoceInterface.

func (*MockRoceInterfaceMockRecorder) Allocate added in v1.6.12

func (mr *MockRoceInterfaceMockRecorder) Allocate(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

Allocate indicates an expected call of Allocate.

func (*MockRoceInterfaceMockRecorder) Ready added in v1.6.12

func (mr *MockRoceInterfaceMockRecorder) Ready(arg0 interface{}) *gomock.Call

Ready indicates an expected call of Ready.

func (*MockRoceInterfaceMockRecorder) Release added in v1.6.12

func (mr *MockRoceInterfaceMockRecorder) Release(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Release indicates an expected call of Release.

func (*MockRoceInterfaceMockRecorder) Run added in v1.6.12

func (mr *MockRoceInterfaceMockRecorder) Run(arg0, arg1 interface{}) *gomock.Call

Run indicates an expected call of Run.

Jump to

Keyboard shortcuts

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