testing

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 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/flowexporter/connections (interfaces: ConnTrackDumper,NetFilterConnTrack)

Generated by this command:

mockgen -copyright_file hack/boilerplate/license_header.raw.txt -destination pkg/agent/flowexporter/connections/testing/mock_connections.go -package testing antrea.io/antrea/pkg/agent/flowexporter/connections ConnTrackDumper,NetFilterConnTrack

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 MockConnTrackDumper

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

MockConnTrackDumper is a mock of ConnTrackDumper interface.

func NewMockConnTrackDumper

func NewMockConnTrackDumper(ctrl *gomock.Controller) *MockConnTrackDumper

NewMockConnTrackDumper creates a new mock instance.

func (*MockConnTrackDumper) DumpFlows

func (m *MockConnTrackDumper) DumpFlows(arg0 uint16) ([]*flowexporter.Connection, int, error)

DumpFlows mocks base method.

func (*MockConnTrackDumper) EXPECT

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

func (*MockConnTrackDumper) GetMaxConnections

func (m *MockConnTrackDumper) GetMaxConnections() (int, error)

GetMaxConnections mocks base method.

type MockConnTrackDumperMockRecorder

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

MockConnTrackDumperMockRecorder is the mock recorder for MockConnTrackDumper.

func (*MockConnTrackDumperMockRecorder) DumpFlows

func (mr *MockConnTrackDumperMockRecorder) DumpFlows(arg0 any) *gomock.Call

DumpFlows indicates an expected call of DumpFlows.

func (*MockConnTrackDumperMockRecorder) GetMaxConnections

func (mr *MockConnTrackDumperMockRecorder) GetMaxConnections() *gomock.Call

GetMaxConnections indicates an expected call of GetMaxConnections.

type MockNetFilterConnTrack

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

MockNetFilterConnTrack is a mock of NetFilterConnTrack interface.

func NewMockNetFilterConnTrack

func NewMockNetFilterConnTrack(ctrl *gomock.Controller) *MockNetFilterConnTrack

NewMockNetFilterConnTrack creates a new mock instance.

func (*MockNetFilterConnTrack) Dial

func (m *MockNetFilterConnTrack) Dial() error

Dial mocks base method.

func (*MockNetFilterConnTrack) DumpFlowsInCtZone

func (m *MockNetFilterConnTrack) DumpFlowsInCtZone(arg0 uint16) ([]*flowexporter.Connection, error)

DumpFlowsInCtZone mocks base method.

func (*MockNetFilterConnTrack) EXPECT

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

type MockNetFilterConnTrackMockRecorder

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

MockNetFilterConnTrackMockRecorder is the mock recorder for MockNetFilterConnTrack.

func (*MockNetFilterConnTrackMockRecorder) Dial

Dial indicates an expected call of Dial.

func (*MockNetFilterConnTrackMockRecorder) DumpFlowsInCtZone

func (mr *MockNetFilterConnTrackMockRecorder) DumpFlowsInCtZone(arg0 any) *gomock.Call

DumpFlowsInCtZone indicates an expected call of DumpFlowsInCtZone.

Jump to

Keyboard shortcuts

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