package version

import "github.com/open-policy-agent/opa/version"

Package version contains version information that is set at build time.

Index

Variables

var (
	Vcs       = ""
	Timestamp = ""
	Hostname  = ""
)

Additional version information that is displayed by the "version" command and used to identify the version of running instances of OPA.

var GoVersion = runtime.Version()

GoVersion is the version of Go this was built with

var Platform = runtime.GOOS + "/" + runtime.GOARCH

Platform is the runtime OS and architecture of this OPA binary

var Version = "0.50.2"

Version is the canonical version of OPA.

Functions

func WasmRuntimeAvailable

func WasmRuntimeAvailable() bool

WasmRuntimeAvailable indicates if a wasm runtime is available in this OPA.

Source Files

version.go version_go1.18.go wasm.go

Version
v0.50.2
Published
Mar 21, 2023
Platform
js/wasm
Imports
3 packages
Last checked
7 minutes ago

Tools for package owners.