Documentation
¶
Overview ¶
Package providers defines a common API for providers.
Index ¶
Constants ¶
View Source
const ( Local = "local" // running as local process Kube = "kube" // running in Kubernetes pod Docker = "docker" // running in Docker container )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { // Env returns the environment type of the provider. Env() string // Name returns a name of the provider. Name() string // Query runs query with list of parameters used as filters and returns a list // of Handler for Query(params ...map[string]string) ([]probe.Handler, error) }
Provider provides ways to discover instances.
Click to show internal directories.
Click to hide internal directories.