testing

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: Apache-2.0 Imports: 4 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) DeleteFlowKeyFromMapWithoutLock

func (m *MockIPFIXAggregationProcess) DeleteFlowKeyFromMapWithoutLock(arg0 intermediate.FlowKey)

DeleteFlowKeyFromMapWithoutLock mocks base method

func (*MockIPFIXAggregationProcess) EXPECT

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

func (*MockIPFIXAggregationProcess) ForAllRecordsDo

ForAllRecordsDo 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) DeleteFlowKeyFromMapWithoutLock

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

DeleteFlowKeyFromMapWithoutLock indicates an expected call of DeleteFlowKeyFromMapWithoutLock

func (*MockIPFIXAggregationProcessMockRecorder) ForAllRecordsDo

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

ForAllRecordsDo indicates an expected call of ForAllRecordsDo

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

type MockIPFIXSet

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

MockIPFIXSet is a mock of IPFIXSet interface

func NewMockIPFIXSet

func NewMockIPFIXSet(ctrl *gomock.Controller) *MockIPFIXSet

NewMockIPFIXSet creates a new mock instance

func (*MockIPFIXSet) AddRecord

func (m *MockIPFIXSet) AddRecord(arg0 []*entities.InfoElementWithValue, arg1 uint16) error

AddRecord mocks base method

func (*MockIPFIXSet) EXPECT

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

func (*MockIPFIXSet) GetSet

func (m *MockIPFIXSet) GetSet() entities.Set

GetSet mocks base method

type MockIPFIXSetMockRecorder

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

MockIPFIXSetMockRecorder is the mock recorder for MockIPFIXSet

func (*MockIPFIXSetMockRecorder) AddRecord

func (mr *MockIPFIXSetMockRecorder) AddRecord(arg0, arg1 interface{}) *gomock.Call

AddRecord indicates an expected call of AddRecord

func (*MockIPFIXSetMockRecorder) GetSet

func (mr *MockIPFIXSetMockRecorder) GetSet() *gomock.Call

GetSet indicates an expected call of GetSet

Jump to

Keyboard shortcuts

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