testing

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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

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

func (*MockLocalPortOpener) OpenLocalPort

func (m *MockLocalPortOpener) OpenLocalPort(arg0 int, arg1 string) (io.Closer, error)

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.

Jump to

Keyboard shortcuts

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