Documentation ¶
Overview ¶
Package mock_metric_source is a generated GoMock package.
Package mock_metric_source is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFetchResult ¶
type MockFetchResult struct {
// contains filtered or unexported fields
}
MockFetchResult is a mock of FetchResult interface
func NewMockFetchResult ¶
func NewMockFetchResult(ctrl *gomock.Controller) *MockFetchResult
NewMockFetchResult creates a new mock instance
func (*MockFetchResult) EXPECT ¶
func (m *MockFetchResult) EXPECT() *MockFetchResultMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFetchResult) GetMetricsData ¶
func (m *MockFetchResult) GetMetricsData() []*metric_source.MetricData
GetMetricsData mocks base method
func (*MockFetchResult) GetPatternMetrics ¶
func (m *MockFetchResult) GetPatternMetrics() ([]string, error)
GetPatternMetrics mocks base method
func (*MockFetchResult) GetPatterns ¶
func (m *MockFetchResult) GetPatterns() ([]string, error)
GetPatterns mocks base method
type MockFetchResultMockRecorder ¶
type MockFetchResultMockRecorder struct {
// contains filtered or unexported fields
}
MockFetchResultMockRecorder is the mock recorder for MockFetchResult
func (*MockFetchResultMockRecorder) GetMetricsData ¶
func (mr *MockFetchResultMockRecorder) GetMetricsData() *gomock.Call
GetMetricsData indicates an expected call of GetMetricsData
func (*MockFetchResultMockRecorder) GetPatternMetrics ¶
func (mr *MockFetchResultMockRecorder) GetPatternMetrics() *gomock.Call
GetPatternMetrics indicates an expected call of GetPatternMetrics
func (*MockFetchResultMockRecorder) GetPatterns ¶
func (mr *MockFetchResultMockRecorder) GetPatterns() *gomock.Call
GetPatterns indicates an expected call of GetPatterns
type MockMetricSource ¶
type MockMetricSource struct {
// contains filtered or unexported fields
}
MockMetricSource is a mock of MetricSource interface
func NewMockMetricSource ¶
func NewMockMetricSource(ctrl *gomock.Controller) *MockMetricSource
NewMockMetricSource creates a new mock instance
func (*MockMetricSource) EXPECT ¶
func (m *MockMetricSource) EXPECT() *MockMetricSourceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMetricSource) Fetch ¶
func (m *MockMetricSource) Fetch(arg0 string, arg1, arg2 int64, arg3 bool) (metric_source.FetchResult, error)
Fetch mocks base method
func (*MockMetricSource) IsConfigured ¶
func (m *MockMetricSource) IsConfigured() (bool, error)
IsConfigured mocks base method
type MockMetricSourceMockRecorder ¶
type MockMetricSourceMockRecorder struct {
// contains filtered or unexported fields
}
MockMetricSourceMockRecorder is the mock recorder for MockMetricSource
func (*MockMetricSourceMockRecorder) Fetch ¶
func (mr *MockMetricSourceMockRecorder) Fetch(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Fetch indicates an expected call of Fetch
func (*MockMetricSourceMockRecorder) IsConfigured ¶
func (mr *MockMetricSourceMockRecorder) IsConfigured() *gomock.Call
IsConfigured indicates an expected call of IsConfigured