package version
import "github.com/open-policy-agent/opa/internal/version"
Package version implements helper functions for the stored version.
Index ¶
Variables ¶
var UserAgent = fmt.Sprintf("Open Policy Agent/%s (%s, %s)", version.Version, runtime.GOOS, runtime.GOARCH)
UserAgent defines the current OPA instances User-Agent default header value.
Functions ¶
func Write ¶
Write the build version information into storage. This makes the version information available to the REPL and the HTTP server.
Source Files ¶
- Version
- v0.46.2
- Published
- Dec 7, 2022
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 2 minutes ago –
Tools for package owners.