Documentation ¶
Overview ¶
Package mock_netlinkwrapper 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) LinkByName ¶
func (m *MockNetLink) LinkByName(arg0 string) (netlink.Link, error)
LinkByName mocks base method.
type MockNetLinkMockRecorder ¶
type MockNetLinkMockRecorder struct {
// contains filtered or unexported fields
}
MockNetLinkMockRecorder is the mock recorder for MockNetLink.
func (*MockNetLinkMockRecorder) LinkByName ¶
func (mr *MockNetLinkMockRecorder) LinkByName(arg0 interface{}) *gomock.Call
LinkByName indicates an expected call of LinkByName.
func (*MockNetLinkMockRecorder) LinkList ¶
func (mr *MockNetLinkMockRecorder) LinkList() *gomock.Call
LinkList indicates an expected call of LinkList.
Click to show internal directories.
Click to hide internal directories.