package
0.44.2
Repository: https://github.com/grafana/agent.git
Documentation: pkg.go.dev

# Functions

GetCodec returns the codec for encoding and decoding instance.Configs in the Remote store.
NewAPI creates a new API.
NewRemote creates a new Remote store that uses a Key-Value client to store and retrieve configs.

# Variables

ErrNotConnected is used when a store operation was called but no connection to the store was active.

# Structs

API is an HTTP API to interact with a configstore.
Mock is a Mock Store.
NotExistError is used when a config doesn't exist.
NotUniqueError is used when two scrape jobs have the same name.
Remote loads instance files from a remote KV store.
WatchEvent is returned by Watch.

# Interfaces

Store is some interface to retrieving instance configurations.

# Type aliases

Validator valides a config before putting it into the store.