Retracted : Use the path github.com/open-policy-agent/opa (lower-case), not github.com/open-policy-agent/OPA.
Before 0.15.0 OPA was not using go modules and the correct import path was not enforced.
Discover Packages
github.com/open-policy-agent/opa
plugins
status
package
Version:
v0.9.1
Opens a new window with list of versions in this module.
Published: Aug 16, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 13
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package status implements status reporting.
type Config struct {
Service string `json:"service"`
PartitionName string `json:"partition_name,omitempty"`
}
Config contains configuration for the plugin.
Plugin implements status reporting. Updates can be triggered by the caller.
New returns a new Plugin with the given config.
Update notifies the plugin with a new bundle.Status.
UpdateRequestV1 represents the status update message that OPA sends to
remote HTTP endpoints.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.