Documentation ¶
Overview ¶
Package interfaces is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNetlink ¶
type MockNetlink struct {
// contains filtered or unexported fields
}
MockNetlink is a mock of Netlink interface.
func NewMockNetlink ¶
func NewMockNetlink(ctrl *gomock.Controller) *MockNetlink
NewMockNetlink creates a new mock instance.
func (*MockNetlink) EXPECT ¶
func (m *MockNetlink) EXPECT() *MockNetlinkMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNetlink) LinkByIndex ¶
func (m *MockNetlink) LinkByIndex(arg0 int) (netlink.Link, error)
LinkByIndex mocks base method.
func (*MockNetlink) LinkByName ¶
func (m *MockNetlink) LinkByName(arg0 string) (netlink.Link, error)
LinkByName mocks base method.
func (*MockNetlink) LinkSetVfState ¶
LinkSetVfState mocks base method.
type MockNetlinkMockRecorder ¶
type MockNetlinkMockRecorder struct {
// contains filtered or unexported fields
}
MockNetlinkMockRecorder is the mock recorder for MockNetlink.
func (*MockNetlinkMockRecorder) LinkByIndex ¶
func (mr *MockNetlinkMockRecorder) LinkByIndex(arg0 any) *gomock.Call
LinkByIndex indicates an expected call of LinkByIndex.
func (*MockNetlinkMockRecorder) LinkByName ¶
func (mr *MockNetlinkMockRecorder) LinkByName(arg0 any) *gomock.Call
LinkByName indicates an expected call of LinkByName.
func (*MockNetlinkMockRecorder) LinkSetVfState ¶
func (mr *MockNetlinkMockRecorder) LinkSetVfState(arg0, arg1, arg2 any) *gomock.Call
LinkSetVfState indicates an expected call of LinkSetVfState.
Click to show internal directories.
Click to hide internal directories.