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
bundle
package
Version:
v0.10.1
Opens a new window with list of versions in this module.
Published: Oct 30, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 93
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package bundle implements bundle loading.
Common file extensions and file names.
Write serializes the Bundle and writes it to w.
Bundle represents a loaded bundle. The bundle can contain data and policies.
Read returns a new Bundle loaded from the reader.
Equal returns true if this bundle's contents equal the other bundle's
contents.
type Manifest struct {
Revision string `json:"revision"`
}
Manifest represents the manifest from a bundle. The manifest may contain
metadata such as the bundle revision.
ModuleFile represents a single module contained a bundle.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.