testing

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 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) 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) IsMetadataFilled

IsMetadataFilled mocks base method

func (*MockIPFIXAggregationProcess) ResetStatElementsInRecord

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

ResetStatElementsInRecord mocks base method

func (*MockIPFIXAggregationProcess) SetMetadataFilled

SetMetadataFilled 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) 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) IsMetadataFilled

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

IsMetadataFilled indicates an expected call of IsMetadataFilled

func (*MockIPFIXAggregationProcessMockRecorder) ResetStatElementsInRecord

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

ResetStatElementsInRecord indicates an expected call of ResetStatElementsInRecord

func (*MockIPFIXAggregationProcessMockRecorder) SetMetadataFilled

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

SetMetadataFilled indicates an expected call of SetMetadataFilled

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

Jump to

Keyboard shortcuts

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