testing

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 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 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) AddRecordAndSendMsg

func (m *MockIPFIXExportingProcess) AddRecordAndSendMsg(arg0 entities.ContentType, arg1 entities.Record) (int, error)

AddRecordAndSendMsg mocks base method

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

type MockIPFIXExportingProcessMockRecorder

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

MockIPFIXExportingProcessMockRecorder is the mock recorder for MockIPFIXExportingProcess

func (*MockIPFIXExportingProcessMockRecorder) AddRecordAndSendMsg

func (mr *MockIPFIXExportingProcessMockRecorder) AddRecordAndSendMsg(arg0, arg1 interface{}) *gomock.Call

AddRecordAndSendMsg indicates an expected call of AddRecordAndSendMsg

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

type MockIPFIXRecord

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

MockIPFIXRecord is a mock of IPFIXRecord interface

func NewMockIPFIXRecord

func NewMockIPFIXRecord(ctrl *gomock.Controller) *MockIPFIXRecord

NewMockIPFIXRecord creates a new mock instance

func (*MockIPFIXRecord) AddInfoElement

func (m *MockIPFIXRecord) AddInfoElement(arg0 *entities.InfoElement, arg1 interface{}) (uint16, error)

AddInfoElement mocks base method

func (*MockIPFIXRecord) EXPECT

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

func (*MockIPFIXRecord) GetBuffer

func (m *MockIPFIXRecord) GetBuffer() *bytes.Buffer

GetBuffer mocks base method

func (*MockIPFIXRecord) GetFieldCount

func (m *MockIPFIXRecord) GetFieldCount() uint16

GetFieldCount mocks base method

func (*MockIPFIXRecord) GetRecord

func (m *MockIPFIXRecord) GetRecord() entities.Record

GetRecord mocks base method

func (*MockIPFIXRecord) GetTemplateElements

func (m *MockIPFIXRecord) GetTemplateElements() []*entities.InfoElement

GetTemplateElements mocks base method

func (*MockIPFIXRecord) PrepareRecord

func (m *MockIPFIXRecord) PrepareRecord() (uint16, error)

PrepareRecord mocks base method

type MockIPFIXRecordMockRecorder

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

MockIPFIXRecordMockRecorder is the mock recorder for MockIPFIXRecord

func (*MockIPFIXRecordMockRecorder) AddInfoElement

func (mr *MockIPFIXRecordMockRecorder) AddInfoElement(arg0, arg1 interface{}) *gomock.Call

AddInfoElement indicates an expected call of AddInfoElement

func (*MockIPFIXRecordMockRecorder) GetBuffer

func (mr *MockIPFIXRecordMockRecorder) GetBuffer() *gomock.Call

GetBuffer indicates an expected call of GetBuffer

func (*MockIPFIXRecordMockRecorder) GetFieldCount

func (mr *MockIPFIXRecordMockRecorder) GetFieldCount() *gomock.Call

GetFieldCount indicates an expected call of GetFieldCount

func (*MockIPFIXRecordMockRecorder) GetRecord

func (mr *MockIPFIXRecordMockRecorder) GetRecord() *gomock.Call

GetRecord indicates an expected call of GetRecord

func (*MockIPFIXRecordMockRecorder) GetTemplateElements

func (mr *MockIPFIXRecordMockRecorder) GetTemplateElements() *gomock.Call

GetTemplateElements indicates an expected call of GetTemplateElements

func (*MockIPFIXRecordMockRecorder) PrepareRecord

func (mr *MockIPFIXRecordMockRecorder) PrepareRecord() *gomock.Call

PrepareRecord indicates an expected call of PrepareRecord

type MockIPFIXRegistry added in v0.10.0

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

MockIPFIXRegistry is a mock of IPFIXRegistry interface

func NewMockIPFIXRegistry added in v0.10.0

func NewMockIPFIXRegistry(ctrl *gomock.Controller) *MockIPFIXRegistry

NewMockIPFIXRegistry creates a new mock instance

func (*MockIPFIXRegistry) EXPECT added in v0.10.0

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

func (*MockIPFIXRegistry) GetInfoElement added in v0.10.0

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

GetInfoElement mocks base method

func (*MockIPFIXRegistry) LoadRegistry added in v0.10.0

func (m *MockIPFIXRegistry) LoadRegistry()

LoadRegistry mocks base method

type MockIPFIXRegistryMockRecorder added in v0.10.0

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

MockIPFIXRegistryMockRecorder is the mock recorder for MockIPFIXRegistry

func (*MockIPFIXRegistryMockRecorder) GetInfoElement added in v0.10.0

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

GetInfoElement indicates an expected call of GetInfoElement

func (*MockIPFIXRegistryMockRecorder) LoadRegistry added in v0.10.0

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