mock_cniipwrapper

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIP

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

MockIP is a mock of IP interface

func NewMockIP

func NewMockIP(ctrl *gomock.Controller) *MockIP

NewMockIP creates a new mock instance

func (*MockIP) DelLinkByNameAddr

func (m *MockIP) DelLinkByNameAddr(arg0 string, arg1 int) (*net.IPNet, error)

DelLinkByNameAddr mocks base method

func (*MockIP) EXPECT

func (m *MockIP) EXPECT() *MockIPMockRecorder

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

func (*MockIP) SetHWAddrByIP

func (m *MockIP) SetHWAddrByIP(arg0 string, arg1, arg2 net.IP) error

SetHWAddrByIP mocks base method

func (*MockIP) SetupVeth

func (m *MockIP) SetupVeth(arg0 string, arg1 int, arg2 ns.NetNS) (net.Interface, net.Interface, error)

SetupVeth mocks base method

type MockIPMockRecorder

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

MockIPMockRecorder is the mock recorder for MockIP

func (*MockIPMockRecorder) DelLinkByNameAddr

func (mr *MockIPMockRecorder) DelLinkByNameAddr(arg0, arg1 interface{}) *gomock.Call

DelLinkByNameAddr indicates an expected call of DelLinkByNameAddr

func (*MockIPMockRecorder) SetHWAddrByIP

func (mr *MockIPMockRecorder) SetHWAddrByIP(arg0, arg1, arg2 interface{}) *gomock.Call

SetHWAddrByIP indicates an expected call of SetHWAddrByIP

func (*MockIPMockRecorder) SetupVeth

func (mr *MockIPMockRecorder) SetupVeth(arg0, arg1, arg2 interface{}) *gomock.Call

SetupVeth indicates an expected call of SetupVeth

Jump to

Keyboard shortcuts

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