testing

package
Version: v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2021 License: Apache-2.0 Imports: 5 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 MockIPFIXAggregationProcess

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

MockIPFIXAggregationProcess is a mock of IPFIXAggregationProcess interface

func NewMockIPFIXAggregationProcess

func NewMockIPFIXAggregationProcess(ctrl *gomock.Controller) *MockIPFIXAggregationProcess

NewMockIPFIXAggregationProcess creates a new mock instance

func (*MockIPFIXAggregationProcess) AreCorrelatedFieldsFilled added in v1.2.0

func (m *MockIPFIXAggregationProcess) AreCorrelatedFieldsFilled(arg0 intermediate.AggregationFlowRecord) bool

AreCorrelatedFieldsFilled mocks base method

func (*MockIPFIXAggregationProcess) AreExternalFieldsFilled added in v1.2.0

func (m *MockIPFIXAggregationProcess) AreExternalFieldsFilled(arg0 intermediate.AggregationFlowRecord) bool

AreExternalFieldsFilled mocks base method

func (*MockIPFIXAggregationProcess) EXPECT

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

func (*MockIPFIXAggregationProcess) ForAllExpiredFlowRecordsDo

func (m *MockIPFIXAggregationProcess) ForAllExpiredFlowRecordsDo(arg0 intermediate.FlowKeyRecordMapCallBack) error

ForAllExpiredFlowRecordsDo mocks base method

func (*MockIPFIXAggregationProcess) GetExpiryFromExpirePriorityQueue

func (m *MockIPFIXAggregationProcess) GetExpiryFromExpirePriorityQueue() time.Duration

GetExpiryFromExpirePriorityQueue mocks base method

func (*MockIPFIXAggregationProcess) IsAggregatedRecordIPv4 added in v1.2.0

func (m *MockIPFIXAggregationProcess) IsAggregatedRecordIPv4(arg0 intermediate.AggregationFlowRecord) bool

IsAggregatedRecordIPv4 mocks base method

func (*MockIPFIXAggregationProcess) ResetStatElementsInRecord

func (m *MockIPFIXAggregationProcess) ResetStatElementsInRecord(arg0 entities.Record) error

ResetStatElementsInRecord mocks base method

func (*MockIPFIXAggregationProcess) SetCorrelatedFieldsFilled added in v1.2.0

func (m *MockIPFIXAggregationProcess) SetCorrelatedFieldsFilled(arg0 *intermediate.AggregationFlowRecord)

SetCorrelatedFieldsFilled mocks base method

func (*MockIPFIXAggregationProcess) SetExternalFieldsFilled added in v1.2.0

func (m *MockIPFIXAggregationProcess) SetExternalFieldsFilled(arg0 *intermediate.AggregationFlowRecord)

SetExternalFieldsFilled mocks base method

func (*MockIPFIXAggregationProcess) Start

func (m *MockIPFIXAggregationProcess) Start()

Start mocks base method

func (*MockIPFIXAggregationProcess) Stop

func (m *MockIPFIXAggregationProcess) Stop()

Stop mocks base method

type MockIPFIXAggregationProcessMockRecorder

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

MockIPFIXAggregationProcessMockRecorder is the mock recorder for MockIPFIXAggregationProcess

func (*MockIPFIXAggregationProcessMockRecorder) AreCorrelatedFieldsFilled added in v1.2.0

func (mr *MockIPFIXAggregationProcessMockRecorder) AreCorrelatedFieldsFilled(arg0 interface{}) *gomock.Call

AreCorrelatedFieldsFilled indicates an expected call of AreCorrelatedFieldsFilled

func (*MockIPFIXAggregationProcessMockRecorder) AreExternalFieldsFilled added in v1.2.0

func (mr *MockIPFIXAggregationProcessMockRecorder) AreExternalFieldsFilled(arg0 interface{}) *gomock.Call

AreExternalFieldsFilled indicates an expected call of AreExternalFieldsFilled

func (*MockIPFIXAggregationProcessMockRecorder) ForAllExpiredFlowRecordsDo

func (mr *MockIPFIXAggregationProcessMockRecorder) ForAllExpiredFlowRecordsDo(arg0 interface{}) *gomock.Call

ForAllExpiredFlowRecordsDo indicates an expected call of ForAllExpiredFlowRecordsDo

func (*MockIPFIXAggregationProcessMockRecorder) GetExpiryFromExpirePriorityQueue

func (mr *MockIPFIXAggregationProcessMockRecorder) GetExpiryFromExpirePriorityQueue() *gomock.Call

GetExpiryFromExpirePriorityQueue indicates an expected call of GetExpiryFromExpirePriorityQueue

func (*MockIPFIXAggregationProcessMockRecorder) IsAggregatedRecordIPv4 added in v1.2.0

func (mr *MockIPFIXAggregationProcessMockRecorder) IsAggregatedRecordIPv4(arg0 interface{}) *gomock.Call

IsAggregatedRecordIPv4 indicates an expected call of IsAggregatedRecordIPv4

func (*MockIPFIXAggregationProcessMockRecorder) ResetStatElementsInRecord

func (mr *MockIPFIXAggregationProcessMockRecorder) ResetStatElementsInRecord(arg0 interface{}) *gomock.Call

ResetStatElementsInRecord indicates an expected call of ResetStatElementsInRecord

func (*MockIPFIXAggregationProcessMockRecorder) SetCorrelatedFieldsFilled added in v1.2.0

func (mr *MockIPFIXAggregationProcessMockRecorder) SetCorrelatedFieldsFilled(arg0 interface{}) *gomock.Call

SetCorrelatedFieldsFilled indicates an expected call of SetCorrelatedFieldsFilled

func (*MockIPFIXAggregationProcessMockRecorder) SetExternalFieldsFilled added in v1.2.0

func (mr *MockIPFIXAggregationProcessMockRecorder) SetExternalFieldsFilled(arg0 interface{}) *gomock.Call

SetExternalFieldsFilled indicates an expected call of SetExternalFieldsFilled

func (*MockIPFIXAggregationProcessMockRecorder) Start

Start indicates an expected call of Start

func (*MockIPFIXAggregationProcessMockRecorder) Stop

Stop indicates an expected call of Stop

type MockIPFIXCollectingProcess

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

MockIPFIXCollectingProcess is a mock of IPFIXCollectingProcess interface

func NewMockIPFIXCollectingProcess

func NewMockIPFIXCollectingProcess(ctrl *gomock.Controller) *MockIPFIXCollectingProcess

NewMockIPFIXCollectingProcess creates a new mock instance

func (*MockIPFIXCollectingProcess) EXPECT

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

func (*MockIPFIXCollectingProcess) GetMsgChan

func (m *MockIPFIXCollectingProcess) GetMsgChan() chan *entities.Message

GetMsgChan mocks base method

func (*MockIPFIXCollectingProcess) Start

func (m *MockIPFIXCollectingProcess) Start()

Start mocks base method

func (*MockIPFIXCollectingProcess) Stop

func (m *MockIPFIXCollectingProcess) Stop()

Stop mocks base method

type MockIPFIXCollectingProcessMockRecorder

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

MockIPFIXCollectingProcessMockRecorder is the mock recorder for MockIPFIXCollectingProcess

func (*MockIPFIXCollectingProcessMockRecorder) GetMsgChan

GetMsgChan indicates an expected call of GetMsgChan

func (*MockIPFIXCollectingProcessMockRecorder) Start

Start indicates an expected call of Start

func (*MockIPFIXCollectingProcessMockRecorder) Stop

Stop indicates an expected call of Stop

type MockIPFIXExportingProcess

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

MockIPFIXExportingProcess is a mock of IPFIXExportingProcess interface

func NewMockIPFIXExportingProcess

func NewMockIPFIXExportingProcess(ctrl *gomock.Controller) *MockIPFIXExportingProcess

NewMockIPFIXExportingProcess creates a new mock instance

func (*MockIPFIXExportingProcess) CloseConnToCollector

func (m *MockIPFIXExportingProcess) CloseConnToCollector()

CloseConnToCollector mocks base method

func (*MockIPFIXExportingProcess) EXPECT

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

func (*MockIPFIXExportingProcess) NewTemplateID

func (m *MockIPFIXExportingProcess) NewTemplateID() uint16

NewTemplateID mocks base method

func (*MockIPFIXExportingProcess) SendSet

func (m *MockIPFIXExportingProcess) SendSet(arg0 entities.Set) (int, error)

SendSet mocks base method

type MockIPFIXExportingProcessMockRecorder

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

MockIPFIXExportingProcessMockRecorder is the mock recorder for MockIPFIXExportingProcess

func (*MockIPFIXExportingProcessMockRecorder) CloseConnToCollector

func (mr *MockIPFIXExportingProcessMockRecorder) CloseConnToCollector() *gomock.Call

CloseConnToCollector indicates an expected call of CloseConnToCollector

func (*MockIPFIXExportingProcessMockRecorder) NewTemplateID

func (mr *MockIPFIXExportingProcessMockRecorder) NewTemplateID() *gomock.Call

NewTemplateID indicates an expected call of NewTemplateID

func (*MockIPFIXExportingProcessMockRecorder) SendSet

func (mr *MockIPFIXExportingProcessMockRecorder) SendSet(arg0 interface{}) *gomock.Call

SendSet indicates an expected call of SendSet

type MockIPFIXRegistry

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

MockIPFIXRegistry is a mock of IPFIXRegistry interface

func NewMockIPFIXRegistry

func NewMockIPFIXRegistry(ctrl *gomock.Controller) *MockIPFIXRegistry

NewMockIPFIXRegistry creates a new mock instance

func (*MockIPFIXRegistry) EXPECT

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

func (*MockIPFIXRegistry) GetInfoElement

func (m *MockIPFIXRegistry) GetInfoElement(arg0 string, arg1 uint32) (*entities.InfoElement, error)

GetInfoElement mocks base method

func (*MockIPFIXRegistry) LoadRegistry

func (m *MockIPFIXRegistry) LoadRegistry()

LoadRegistry mocks base method

type MockIPFIXRegistryMockRecorder

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

MockIPFIXRegistryMockRecorder is the mock recorder for MockIPFIXRegistry

func (*MockIPFIXRegistryMockRecorder) GetInfoElement

func (mr *MockIPFIXRegistryMockRecorder) GetInfoElement(arg0, arg1 interface{}) *gomock.Call

GetInfoElement indicates an expected call of GetInfoElement

func (*MockIPFIXRegistryMockRecorder) LoadRegistry

func (mr *MockIPFIXRegistryMockRecorder) LoadRegistry() *gomock.Call

LoadRegistry indicates an expected call of LoadRegistry

Source Files

Jump to

Keyboard shortcuts

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