Documentation ¶
Overview ¶
Package discovery implements configuration discovery.
Deprecated: This package is intended for older projects transitioning from OPA v0.x and will remain for the lifetime of OPA v1.x, but its use is not recommended. For newer features and behaviours, such as defaulting to the Rego v1 syntax, use the corresponding components in the github.com/open-policy-agent/opa/v1 package instead. See https://www.openpolicyagent.org/docs/latest/v0-compatibility/ for more information.
Index ¶
Constants ¶
View Source
const ( // Name is the discovery plugin name that will be registered with the plugin manager. Name = v1.Name )
Variables ¶
This section is empty.
Functions ¶
func BootConfig ¶ added in v0.64.0
Types ¶
type ConfigBuilder ¶ added in v0.22.0
type ConfigBuilder = v1.ConfigBuilder
ConfigBuilder assists in the construction of the plugin configuration.
func NewConfigBuilder ¶ added in v0.22.0
func NewConfigBuilder() *ConfigBuilder
NewConfigBuilder returns a new ConfigBuilder to build and parse the discovery config
Click to show internal directories.
Click to hide internal directories.