mockflowclient

package
v10.358.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mockflowclient is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFlowClient

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

MockFlowClient is a mock of FlowClient interface nolint

func NewMockFlowClient

func NewMockFlowClient(ctrl *gomock.Controller) *MockFlowClient

NewMockFlowClient creates a new mock instance nolint

func (*MockFlowClient) Close

func (m *MockFlowClient) Close() error

Close mocks base method nolint

func (*MockFlowClient) EXPECT

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

func (*MockFlowClient) GetOriginalDest

func (m *MockFlowClient) GetOriginalDest(ipSrc, ipDst net.IP, srcport, dstport uint16, protonum uint8) (net.IP, uint16, uint32, error)

GetOriginalDest mocks base method nolint

func (*MockFlowClient) UpdateApplicationFlowMark

func (m *MockFlowClient) UpdateApplicationFlowMark(ipSrc, ipDst net.IP, protonum uint8, srcport, dstport uint16, newmark uint32) error

UpdateApplicationFlowMark mocks base method nolint

func (*MockFlowClient) UpdateMark

func (m *MockFlowClient) UpdateMark(ipSrc, ipDst net.IP, protonum uint8, srcport, dstport uint16, newmark uint32, network bool) error

UpdateMark mocks base method nolint

func (*MockFlowClient) UpdateNetworkFlowMark

func (m *MockFlowClient) UpdateNetworkFlowMark(ipSrc, ipDst net.IP, protonum uint8, srcport, dstport uint16, newmark uint32) error

UpdateNetworkFlowMark mocks base method nolint

type MockFlowClientMockRecorder

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

MockFlowClientMockRecorder is the mock recorder for MockFlowClient nolint

func (*MockFlowClientMockRecorder) Close

func (mr *MockFlowClientMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close nolint

func (*MockFlowClientMockRecorder) GetOriginalDest

func (mr *MockFlowClientMockRecorder) GetOriginalDest(ipSrc, ipDst, srcport, dstport, protonum interface{}) *gomock.Call

GetOriginalDest indicates an expected call of GetOriginalDest nolint

func (*MockFlowClientMockRecorder) UpdateApplicationFlowMark

func (mr *MockFlowClientMockRecorder) UpdateApplicationFlowMark(ipSrc, ipDst, protonum, srcport, dstport, newmark interface{}) *gomock.Call

UpdateApplicationFlowMark indicates an expected call of UpdateApplicationFlowMark nolint

func (*MockFlowClientMockRecorder) UpdateMark

func (mr *MockFlowClientMockRecorder) UpdateMark(ipSrc, ipDst, protonum, srcport, dstport, newmark, network interface{}) *gomock.Call

UpdateMark indicates an expected call of UpdateMark nolint

func (*MockFlowClientMockRecorder) UpdateNetworkFlowMark

func (mr *MockFlowClientMockRecorder) UpdateNetworkFlowMark(ipSrc, ipDst, protonum, srcport, dstport, newmark interface{}) *gomock.Call

UpdateNetworkFlowMark indicates an expected call of UpdateNetworkFlowMark nolint

Jump to

Keyboard shortcuts

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