testing

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 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) GetAntreaRegistryInfoElement

func (m *MockIPFIXExportingProcess) GetAntreaRegistryInfoElement(arg0 string, arg1 bool) (*entities.InfoElement, error)

GetAntreaRegistryInfoElement mocks base method

func (*MockIPFIXExportingProcess) GetIANARegistryInfoElement

func (m *MockIPFIXExportingProcess) GetIANARegistryInfoElement(arg0 string, arg1 bool) (*entities.InfoElement, error)

GetIANARegistryInfoElement mocks base method

func (*MockIPFIXExportingProcess) LoadRegistries

func (m *MockIPFIXExportingProcess) LoadRegistries()

LoadRegistries mocks base method

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) GetAntreaRegistryInfoElement

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

GetAntreaRegistryInfoElement indicates an expected call of GetAntreaRegistryInfoElement

func (*MockIPFIXExportingProcessMockRecorder) GetIANARegistryInfoElement

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

GetIANARegistryInfoElement indicates an expected call of GetIANARegistryInfoElement

func (*MockIPFIXExportingProcessMockRecorder) LoadRegistries

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

LoadRegistries indicates an expected call of LoadRegistries

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

Jump to

Keyboard shortcuts

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