Versions in this module Expand all Collapse all v0 v0.2.2 Oct 16, 2020 Changes in this version + type API struct + func (_m *API) AlertManagers(ctx context.Context) (v1.AlertManagersResult, error) + func (_m *API) Alerts(ctx context.Context) (v1.AlertsResult, 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) LabelNames(ctx context.Context) ([]string, v1.Warnings, error) + func (_m *API) LabelValues(ctx context.Context, label string) (model.LabelValues, v1.Warnings, error) + func (_m *API) Metadata(ctx context.Context, metric string, limit string) (map[string][]v1.Metadata, error) + func (_m *API) Query(ctx context.Context, query string, ts time.Time) (model.Value, v1.Warnings, error) + func (_m *API) QueryRange(ctx context.Context, query string, r v1.Range) (model.Value, v1.Warnings, error) + func (_m *API) Rules(ctx context.Context) (v1.RulesResult, error) + func (_m *API) Series(ctx context.Context, matches []string, startTime time.Time, endTime time.Time) ([]model.LabelSet, v1.Warnings, error) + func (_m *API) Snapshot(ctx context.Context, skipHead bool) (v1.SnapshotResult, error) + func (_m *API) Targets(ctx context.Context) (v1.TargetsResult, error) + func (_m *API) TargetsMetadata(ctx context.Context, matchTarget string, metric string, limit string) ([]v1.MetricMetadata, error)