mocks

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMetricsService_StreamMetricsServer

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

MockMetricsService_StreamMetricsServer is a mock of MetricsService_StreamMetricsServer interface

func NewMockMetricsService_StreamMetricsServer

func NewMockMetricsService_StreamMetricsServer(ctrl *gomock.Controller) *MockMetricsService_StreamMetricsServer

NewMockMetricsService_StreamMetricsServer creates a new mock instance

func (*MockMetricsService_StreamMetricsServer) Context

Context mocks base method

func (*MockMetricsService_StreamMetricsServer) EXPECT

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

func (*MockMetricsService_StreamMetricsServer) Recv

Recv mocks base method

func (*MockMetricsService_StreamMetricsServer) RecvMsg

func (m *MockMetricsService_StreamMetricsServer) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method

func (*MockMetricsService_StreamMetricsServer) SendAndClose

SendAndClose mocks base method

func (*MockMetricsService_StreamMetricsServer) SendHeader

SendHeader mocks base method

func (*MockMetricsService_StreamMetricsServer) SendMsg

func (m *MockMetricsService_StreamMetricsServer) SendMsg(arg0 interface{}) error

SendMsg mocks base method

func (*MockMetricsService_StreamMetricsServer) SetHeader

SetHeader mocks base method

func (*MockMetricsService_StreamMetricsServer) SetTrailer

SetTrailer mocks base method

type MockMetricsService_StreamMetricsServerMockRecorder

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

MockMetricsService_StreamMetricsServerMockRecorder is the mock recorder for MockMetricsService_StreamMetricsServer

func (*MockMetricsService_StreamMetricsServerMockRecorder) Context

Context indicates an expected call of Context

func (*MockMetricsService_StreamMetricsServerMockRecorder) Recv

Recv indicates an expected call of Recv

func (*MockMetricsService_StreamMetricsServerMockRecorder) RecvMsg

func (mr *MockMetricsService_StreamMetricsServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg

func (*MockMetricsService_StreamMetricsServerMockRecorder) SendAndClose

func (mr *MockMetricsService_StreamMetricsServerMockRecorder) SendAndClose(arg0 interface{}) *gomock.Call

SendAndClose indicates an expected call of SendAndClose

func (*MockMetricsService_StreamMetricsServerMockRecorder) SendHeader

func (mr *MockMetricsService_StreamMetricsServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader

func (*MockMetricsService_StreamMetricsServerMockRecorder) SendMsg

func (mr *MockMetricsService_StreamMetricsServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg

func (*MockMetricsService_StreamMetricsServerMockRecorder) SetHeader

func (mr *MockMetricsService_StreamMetricsServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader

func (*MockMetricsService_StreamMetricsServerMockRecorder) SetTrailer

func (mr *MockMetricsService_StreamMetricsServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer

type MockStorageClient

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

MockStorageClient is a mock of StorageClient interface

func NewMockStorageClient

func NewMockStorageClient(ctrl *gomock.Controller) *MockStorageClient

NewMockStorageClient creates a new mock instance

func (*MockStorageClient) EXPECT

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

func (*MockStorageClient) GetUsage

GetUsage mocks base method

func (*MockStorageClient) RecordUsage

func (m *MockStorageClient) RecordUsage(arg0 *metricsservice.GlobalUsage) error

RecordUsage mocks base method

type MockStorageClientMockRecorder

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

MockStorageClientMockRecorder is the mock recorder for MockStorageClient

func (*MockStorageClientMockRecorder) GetUsage

func (mr *MockStorageClientMockRecorder) GetUsage() *gomock.Call

GetUsage indicates an expected call of GetUsage

func (*MockStorageClientMockRecorder) RecordUsage

func (mr *MockStorageClientMockRecorder) RecordUsage(arg0 interface{}) *gomock.Call

RecordUsage indicates an expected call of RecordUsage

Jump to

Keyboard shortcuts

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