Documentation ¶
Overview ¶
Package discovery implements configuration discovery.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomPlugins ¶
func CustomPlugins(funcs map[string]plugins.PluginInitFunc) func(*Discovery)
CustomPlugins provides a set of factory functions to use for instantiating custom plugins.
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 // 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.