Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockAPI
- func (m *MockAPI) AlertManagers(arg0 context.Context) (v1.AlertManagersResult, error)
- func (m *MockAPI) Alerts(arg0 context.Context) (v1.AlertsResult, error)
- func (m *MockAPI) CleanTombstones(arg0 context.Context) error
- func (m *MockAPI) Config(arg0 context.Context) (v1.ConfigResult, error)
- func (m *MockAPI) DeleteSeries(arg0 context.Context, arg1 []string, arg2, arg3 time.Time) error
- func (m *MockAPI) EXPECT() *MockAPIMockRecorder
- func (m *MockAPI) Flags(arg0 context.Context) (v1.FlagsResult, error)
- func (m *MockAPI) LabelNames(arg0 context.Context) ([]string, v1.Warnings, error)
- func (m *MockAPI) LabelValues(arg0 context.Context, arg1 string) (model.LabelValues, v1.Warnings, error)
- func (m *MockAPI) Query(arg0 context.Context, arg1 string, arg2 time.Time) (model.Value, v1.Warnings, error)
- func (m *MockAPI) QueryRange(arg0 context.Context, arg1 string, arg2 v1.Range) (model.Value, v1.Warnings, error)
- func (m *MockAPI) Rules(arg0 context.Context) (v1.RulesResult, error)
- func (m *MockAPI) Series(arg0 context.Context, arg1 []string, arg2, arg3 time.Time) ([]model.LabelSet, v1.Warnings, error)
- func (m *MockAPI) Snapshot(arg0 context.Context, arg1 bool) (v1.SnapshotResult, error)
- func (m *MockAPI) Targets(arg0 context.Context) (v1.TargetsResult, error)
- func (m *MockAPI) TargetsMetadata(arg0 context.Context, arg1, arg2, arg3 string) ([]v1.MetricMetadata, error)
- type MockAPIMockRecorder
- func (mr *MockAPIMockRecorder) AlertManagers(arg0 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) Alerts(arg0 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) CleanTombstones(arg0 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) Config(arg0 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) DeleteSeries(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) Flags(arg0 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) LabelNames(arg0 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) LabelValues(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) Query(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) QueryRange(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) Rules(arg0 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) Series(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) Snapshot(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) Targets(arg0 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) TargetsMetadata(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPI ¶
type MockAPI struct {
// contains filtered or unexported fields
}
MockAPI is a mock of API interface
func NewMockAPI ¶
func NewMockAPI(ctrl *gomock.Controller) *MockAPI
NewMockAPI creates a new mock instance
func (*MockAPI) AlertManagers ¶
AlertManagers mocks base method
func (*MockAPI) CleanTombstones ¶
CleanTombstones mocks base method
func (*MockAPI) DeleteSeries ¶
DeleteSeries mocks base method
func (*MockAPI) EXPECT ¶
func (m *MockAPI) EXPECT() *MockAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAPI) LabelNames ¶
LabelNames mocks base method
func (*MockAPI) LabelValues ¶
func (m *MockAPI) LabelValues(arg0 context.Context, arg1 string) (model.LabelValues, v1.Warnings, error)
LabelValues mocks base method
func (*MockAPI) Query ¶
func (m *MockAPI) Query(arg0 context.Context, arg1 string, arg2 time.Time) (model.Value, v1.Warnings, error)
Query mocks base method
func (*MockAPI) QueryRange ¶
func (m *MockAPI) QueryRange(arg0 context.Context, arg1 string, arg2 v1.Range) (model.Value, v1.Warnings, error)
QueryRange mocks base method
func (*MockAPI) Series ¶
func (m *MockAPI) Series(arg0 context.Context, arg1 []string, arg2, arg3 time.Time) ([]model.LabelSet, v1.Warnings, error)
Series mocks base method
func (*MockAPI) TargetsMetadata ¶
func (m *MockAPI) TargetsMetadata(arg0 context.Context, arg1, arg2, arg3 string) ([]v1.MetricMetadata, error)
TargetsMetadata mocks base method
type MockAPIMockRecorder ¶
type MockAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIMockRecorder is the mock recorder for MockAPI
func (*MockAPIMockRecorder) AlertManagers ¶
func (mr *MockAPIMockRecorder) AlertManagers(arg0 interface{}) *gomock.Call
AlertManagers indicates an expected call of AlertManagers
func (*MockAPIMockRecorder) Alerts ¶
func (mr *MockAPIMockRecorder) Alerts(arg0 interface{}) *gomock.Call
Alerts indicates an expected call of Alerts
func (*MockAPIMockRecorder) CleanTombstones ¶
func (mr *MockAPIMockRecorder) CleanTombstones(arg0 interface{}) *gomock.Call
CleanTombstones indicates an expected call of CleanTombstones
func (*MockAPIMockRecorder) Config ¶
func (mr *MockAPIMockRecorder) Config(arg0 interface{}) *gomock.Call
Config indicates an expected call of Config
func (*MockAPIMockRecorder) DeleteSeries ¶
func (mr *MockAPIMockRecorder) DeleteSeries(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DeleteSeries indicates an expected call of DeleteSeries
func (*MockAPIMockRecorder) Flags ¶
func (mr *MockAPIMockRecorder) Flags(arg0 interface{}) *gomock.Call
Flags indicates an expected call of Flags
func (*MockAPIMockRecorder) LabelNames ¶
func (mr *MockAPIMockRecorder) LabelNames(arg0 interface{}) *gomock.Call
LabelNames indicates an expected call of LabelNames
func (*MockAPIMockRecorder) LabelValues ¶
func (mr *MockAPIMockRecorder) LabelValues(arg0, arg1 interface{}) *gomock.Call
LabelValues indicates an expected call of LabelValues
func (*MockAPIMockRecorder) Query ¶
func (mr *MockAPIMockRecorder) Query(arg0, arg1, arg2 interface{}) *gomock.Call
Query indicates an expected call of Query
func (*MockAPIMockRecorder) QueryRange ¶
func (mr *MockAPIMockRecorder) QueryRange(arg0, arg1, arg2 interface{}) *gomock.Call
QueryRange indicates an expected call of QueryRange
func (*MockAPIMockRecorder) Rules ¶
func (mr *MockAPIMockRecorder) Rules(arg0 interface{}) *gomock.Call
Rules indicates an expected call of Rules
func (*MockAPIMockRecorder) Series ¶
func (mr *MockAPIMockRecorder) Series(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Series indicates an expected call of Series
func (*MockAPIMockRecorder) Snapshot ¶
func (mr *MockAPIMockRecorder) Snapshot(arg0, arg1 interface{}) *gomock.Call
Snapshot indicates an expected call of Snapshot
func (*MockAPIMockRecorder) Targets ¶
func (mr *MockAPIMockRecorder) Targets(arg0 interface{}) *gomock.Call
Targets indicates an expected call of Targets
func (*MockAPIMockRecorder) TargetsMetadata ¶
func (mr *MockAPIMockRecorder) TargetsMetadata(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
TargetsMetadata indicates an expected call of TargetsMetadata