version

package
v0.13.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package version implements helper functions for the stored version.

Index

Constants

This section is empty.

Variables

View Source
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

func Write(ctx context.Context, store storage.Store, txn storage.Transaction) error

Write the build version information into storage. This makes the version information available to the REPL and the HTTP server.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL