Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockMetricsService_StreamMetricsServer
- func (m *MockMetricsService_StreamMetricsServer) Context() context.Context
- func (m *MockMetricsService_StreamMetricsServer) EXPECT() *MockMetricsService_StreamMetricsServerMockRecorder
- func (m *MockMetricsService_StreamMetricsServer) Recv() (*envoy_service_metrics_v2.StreamMetricsMessage, error)
- func (m *MockMetricsService_StreamMetricsServer) RecvMsg(arg0 interface{}) error
- func (m *MockMetricsService_StreamMetricsServer) SendAndClose(arg0 *envoy_service_metrics_v2.StreamMetricsResponse) error
- func (m *MockMetricsService_StreamMetricsServer) SendHeader(arg0 metadata.MD) error
- func (m *MockMetricsService_StreamMetricsServer) SendMsg(arg0 interface{}) error
- func (m *MockMetricsService_StreamMetricsServer) SetHeader(arg0 metadata.MD) error
- func (m *MockMetricsService_StreamMetricsServer) SetTrailer(arg0 metadata.MD)
- type MockMetricsService_StreamMetricsServerMockRecorder
- func (mr *MockMetricsService_StreamMetricsServerMockRecorder) Context() *gomock.Call
- func (mr *MockMetricsService_StreamMetricsServerMockRecorder) Recv() *gomock.Call
- func (mr *MockMetricsService_StreamMetricsServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockMetricsService_StreamMetricsServerMockRecorder) SendAndClose(arg0 interface{}) *gomock.Call
- func (mr *MockMetricsService_StreamMetricsServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockMetricsService_StreamMetricsServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockMetricsService_StreamMetricsServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockMetricsService_StreamMetricsServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
- type MockStorageClient
- type MockStorageClientMockRecorder
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 ¶
func (m *MockMetricsService_StreamMetricsServer) Context() context.Context
Context mocks base method
func (*MockMetricsService_StreamMetricsServer) EXPECT ¶
func (m *MockMetricsService_StreamMetricsServer) EXPECT() *MockMetricsService_StreamMetricsServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMetricsService_StreamMetricsServer) Recv ¶
func (m *MockMetricsService_StreamMetricsServer) Recv() (*envoy_service_metrics_v2.StreamMetricsMessage, error)
Recv mocks base method
func (*MockMetricsService_StreamMetricsServer) RecvMsg ¶
func (m *MockMetricsService_StreamMetricsServer) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method
func (*MockMetricsService_StreamMetricsServer) SendAndClose ¶
func (m *MockMetricsService_StreamMetricsServer) SendAndClose(arg0 *envoy_service_metrics_v2.StreamMetricsResponse) error
SendAndClose mocks base method
func (*MockMetricsService_StreamMetricsServer) SendHeader ¶
func (m *MockMetricsService_StreamMetricsServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method
func (*MockMetricsService_StreamMetricsServer) SendMsg ¶
func (m *MockMetricsService_StreamMetricsServer) SendMsg(arg0 interface{}) error
SendMsg mocks base method
func (*MockMetricsService_StreamMetricsServer) SetHeader ¶
func (m *MockMetricsService_StreamMetricsServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method
func (*MockMetricsService_StreamMetricsServer) SetTrailer ¶
func (m *MockMetricsService_StreamMetricsServer) SetTrailer(arg0 metadata.MD)
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 ¶
func (mr *MockMetricsService_StreamMetricsServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockMetricsService_StreamMetricsServerMockRecorder) Recv ¶
func (mr *MockMetricsService_StreamMetricsServerMockRecorder) Recv() *gomock.Call
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 ¶
func (m *MockStorageClient) EXPECT() *MockStorageClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStorageClient) GetUsage ¶
func (m *MockStorageClient) GetUsage() (*metricsservice.GlobalUsage, error)
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