Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: antrea.io/antrea/pkg/agent/nodeportlocal/portcache (interfaces: LocalPortOpener)
Generated by this command:
mockgen -copyright_file hack/boilerplate/license_header.raw.txt -destination pkg/agent/nodeportlocal/portcache/testing/mock_portcache.go -package testing antrea.io/antrea/pkg/agent/nodeportlocal/portcache LocalPortOpener
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 MockLocalPortOpener ¶
type MockLocalPortOpener struct {
// contains filtered or unexported fields
}
MockLocalPortOpener is a mock of LocalPortOpener interface.
func NewMockLocalPortOpener ¶
func NewMockLocalPortOpener(ctrl *gomock.Controller) *MockLocalPortOpener
NewMockLocalPortOpener creates a new mock instance.
func (*MockLocalPortOpener) EXPECT ¶
func (m *MockLocalPortOpener) EXPECT() *MockLocalPortOpenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLocalPortOpener) OpenLocalPort ¶
OpenLocalPort mocks base method.
type MockLocalPortOpenerMockRecorder ¶
type MockLocalPortOpenerMockRecorder struct {
// contains filtered or unexported fields
}
MockLocalPortOpenerMockRecorder is the mock recorder for MockLocalPortOpener.
func (*MockLocalPortOpenerMockRecorder) OpenLocalPort ¶
func (mr *MockLocalPortOpenerMockRecorder) OpenLocalPort(arg0, arg1 any) *gomock.Call
OpenLocalPort indicates an expected call of OpenLocalPort.
Click to show internal directories.
Click to hide internal directories.