testing

package
Version: v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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 interface{}) *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 interface{}) *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