Documentation ¶
Overview ¶
Package discovery implements configuration discovery.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { download.Config // bundle downloader configuration Name *string `json:"name"` // name of the discovery bundle Prefix *string `json:"prefix"` // path prefix for downloader Decision *string `json:"decision"` // the name of the query to run on the bundle to get the config Service string `json:"service"` // the name of the service used to download discovery bundle from // contains filtered or unexported fields }
Config represents the configuration for the discovery feature.
type Discovery ¶
type Discovery struct {
// contains filtered or unexported fields
}
Discovery implements configuration discovery for OPA. When discovery is started it will periodically download a configuration bundle and try to reconfigure the OPA.
func (*Discovery) Reconfigure ¶
Reconfigure is a no-op on discovery.
Click to show internal directories.
Click to hide internal directories.