mock_engine

package
v0.0.0-...-53a8481 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_engine is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEngine

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

MockEngine is a mock of Engine interface

func NewMockEngine

func NewMockEngine(ctrl *gomock.Controller) *MockEngine

NewMockEngine creates a new mock instance

func (*MockEngine) AttachHostVethInterfaceToBridge

func (m *MockEngine) AttachHostVethInterfaceToBridge(arg0 string, arg1 *netlink.Bridge) (*current.Interface, error)

AttachHostVethInterfaceToBridge mocks base method

func (*MockEngine) ConfigureBridge

func (m *MockEngine) ConfigureBridge(arg0 *current.Result, arg1 *netlink.Bridge) error

ConfigureBridge mocks base method

func (*MockEngine) ConfigureContainerVethInterface

func (m *MockEngine) ConfigureContainerVethInterface(arg0 string, arg1 *current.Result, arg2 string) error

ConfigureContainerVethInterface mocks base method

func (*MockEngine) CreateBridge

func (m *MockEngine) CreateBridge(arg0 string, arg1 int) (*netlink.Bridge, error)

CreateBridge mocks base method

func (*MockEngine) CreateVethPair

func (m *MockEngine) CreateVethPair(arg0 string, arg1 int, arg2 string) (*current.Interface, string, error)

CreateVethPair mocks base method

func (*MockEngine) DeleteVeth

func (m *MockEngine) DeleteVeth(arg0, arg1 string) error

DeleteVeth mocks base method

func (*MockEngine) EXPECT

func (m *MockEngine) EXPECT() *MockEngineMockRecorder

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

func (*MockEngine) GetInterfaceIPV4Address

func (m *MockEngine) GetInterfaceIPV4Address(arg0, arg1 string) (string, error)

GetInterfaceIPV4Address mocks base method

func (*MockEngine) RunIPAMPluginAdd

func (m *MockEngine) RunIPAMPluginAdd(arg0 string, arg1 []byte) (*current.Result, error)

RunIPAMPluginAdd mocks base method

func (*MockEngine) RunIPAMPluginDel

func (m *MockEngine) RunIPAMPluginDel(arg0 string, arg1 []byte) error

RunIPAMPluginDel mocks base method

type MockEngineMockRecorder

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

MockEngineMockRecorder is the mock recorder for MockEngine

func (*MockEngineMockRecorder) AttachHostVethInterfaceToBridge

func (mr *MockEngineMockRecorder) AttachHostVethInterfaceToBridge(arg0, arg1 interface{}) *gomock.Call

AttachHostVethInterfaceToBridge indicates an expected call of AttachHostVethInterfaceToBridge

func (*MockEngineMockRecorder) ConfigureBridge

func (mr *MockEngineMockRecorder) ConfigureBridge(arg0, arg1 interface{}) *gomock.Call

ConfigureBridge indicates an expected call of ConfigureBridge

func (*MockEngineMockRecorder) ConfigureContainerVethInterface

func (mr *MockEngineMockRecorder) ConfigureContainerVethInterface(arg0, arg1, arg2 interface{}) *gomock.Call

ConfigureContainerVethInterface indicates an expected call of ConfigureContainerVethInterface

func (*MockEngineMockRecorder) CreateBridge

func (mr *MockEngineMockRecorder) CreateBridge(arg0, arg1 interface{}) *gomock.Call

CreateBridge indicates an expected call of CreateBridge

func (*MockEngineMockRecorder) CreateVethPair

func (mr *MockEngineMockRecorder) CreateVethPair(arg0, arg1, arg2 interface{}) *gomock.Call

CreateVethPair indicates an expected call of CreateVethPair

func (*MockEngineMockRecorder) DeleteVeth

func (mr *MockEngineMockRecorder) DeleteVeth(arg0, arg1 interface{}) *gomock.Call

DeleteVeth indicates an expected call of DeleteVeth

func (*MockEngineMockRecorder) GetInterfaceIPV4Address

func (mr *MockEngineMockRecorder) GetInterfaceIPV4Address(arg0, arg1 interface{}) *gomock.Call

GetInterfaceIPV4Address indicates an expected call of GetInterfaceIPV4Address

func (*MockEngineMockRecorder) RunIPAMPluginAdd

func (mr *MockEngineMockRecorder) RunIPAMPluginAdd(arg0, arg1 interface{}) *gomock.Call

RunIPAMPluginAdd indicates an expected call of RunIPAMPluginAdd

func (*MockEngineMockRecorder) RunIPAMPluginDel

func (mr *MockEngineMockRecorder) RunIPAMPluginDel(arg0, arg1 interface{}) *gomock.Call

RunIPAMPluginDel indicates an expected call of RunIPAMPluginDel

Jump to

Keyboard shortcuts

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