Versions in this module Expand all Collapse all v0 v0.3.0 Jul 11, 2022 v0.2.0 Jun 11, 2021 Changes in this version type Backend + func (b Backend) GetServerAddress() string v0.1.0 Jan 30, 2019 Changes in this version + type Backend struct + func New(cfg Config) Backend + func (b Backend) Contains(targets []string) bool + func (b Backend) Find(ctx context.Context, request types.FindRequest) (types.Matches, error) + func (b Backend) Info(ctx context.Context, request types.InfoRequest) ([]types.Info, error) + func (b Backend) Logger() *zap.Logger + func (b Backend) Probe() + func (b Backend) Render(ctx context.Context, request types.RenderRequest) ([]types.Metric, error) + type Config struct + Contains func([]string) bool + Find func(context.Context, types.FindRequest) (types.Matches, error) + Info func(context.Context, types.InfoRequest) ([]types.Info, error) + Render func(context.Context, types.RenderRequest) ([]types.Metric, error)