testing

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: antrea.io/antrea/pkg/flowaggregator/querier (interfaces: FlowAggregatorQuerier)

Generated by this command:

mockgen -copyright_file hack/boilerplate/license_header.raw.txt -destination pkg/flowaggregator/querier/testing/mock_querier.go -package testing antrea.io/antrea/pkg/flowaggregator/querier FlowAggregatorQuerier

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 MockFlowAggregatorQuerier

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

MockFlowAggregatorQuerier is a mock of FlowAggregatorQuerier interface.

func NewMockFlowAggregatorQuerier

func NewMockFlowAggregatorQuerier(ctrl *gomock.Controller) *MockFlowAggregatorQuerier

NewMockFlowAggregatorQuerier creates a new mock instance.

func (*MockFlowAggregatorQuerier) EXPECT

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

func (*MockFlowAggregatorQuerier) GetFlowRecords

func (m *MockFlowAggregatorQuerier) GetFlowRecords(arg0 *intermediate.FlowKey) []map[string]any

GetFlowRecords mocks base method.

func (*MockFlowAggregatorQuerier) GetRecordMetrics

func (m *MockFlowAggregatorQuerier) GetRecordMetrics() querier.Metrics

GetRecordMetrics mocks base method.

type MockFlowAggregatorQuerierMockRecorder

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

MockFlowAggregatorQuerierMockRecorder is the mock recorder for MockFlowAggregatorQuerier.

func (*MockFlowAggregatorQuerierMockRecorder) GetFlowRecords

func (mr *MockFlowAggregatorQuerierMockRecorder) GetFlowRecords(arg0 any) *gomock.Call

GetFlowRecords indicates an expected call of GetFlowRecords.

func (*MockFlowAggregatorQuerierMockRecorder) GetRecordMetrics

func (mr *MockFlowAggregatorQuerierMockRecorder) GetRecordMetrics() *gomock.Call

GetRecordMetrics indicates an expected call of GetRecordMetrics.

Jump to

Keyboard shortcuts

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