Documentation ¶
Index ¶
- type API
- func (_m *API) AlertManagers(ctx context.Context) (v1.AlertManagersResult, error)
- func (_m *API) CleanTombstones(ctx context.Context) error
- func (_m *API) Config(ctx context.Context) (v1.ConfigResult, error)
- func (_m *API) DeleteSeries(ctx context.Context, matches []string, startTime time.Time, endTime time.Time) error
- func (_m *API) Flags(ctx context.Context) (v1.FlagsResult, error)
- func (_m *API) LabelValues(ctx context.Context, label string) (model.LabelValues, error)
- func (_m *API) Query(ctx context.Context, query string, ts time.Time) (model.Value, error)
- func (_m *API) QueryRange(ctx context.Context, query string, r v1.Range) (model.Value, error)
- func (_m *API) Series(ctx context.Context, matches []string, startTime time.Time, endTime time.Time) ([]model.LabelSet, error)
- func (_m *API) Snapshot(ctx context.Context, skipHead bool) (v1.SnapshotResult, error)
- func (_m *API) Targets(ctx context.Context) (v1.TargetsResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API is an autogenerated mock type for the API type
func (*API) AlertManagers ¶
AlertManagers provides a mock function with given fields: ctx
func (*API) CleanTombstones ¶
CleanTombstones provides a mock function with given fields: ctx
func (*API) DeleteSeries ¶
func (_m *API) DeleteSeries(ctx context.Context, matches []string, startTime time.Time, endTime time.Time) error
DeleteSeries provides a mock function with given fields: ctx, matches, startTime, endTime
func (*API) LabelValues ¶
LabelValues provides a mock function with given fields: ctx, label
func (*API) QueryRange ¶
QueryRange provides a mock function with given fields: ctx, query, r
func (*API) Series ¶
func (_m *API) Series(ctx context.Context, matches []string, startTime time.Time, endTime time.Time) ([]model.LabelSet, error)
Series provides a mock function with given fields: ctx, matches, startTime, endTime
Click to show internal directories.
Click to hide internal directories.