Back to godoc.org
github.com/hashicorp/vault/sdk / helper / useragent

package useragent

v0.1.13
Latest Go to latest
Published: Jul 25, 2019 | License: MPL-2.0 | Module: github.com/hashicorp/vault/sdk

Index

func PluginString

func PluginString(env *logical.PluginEnvironment, pluginName string) string

PluginString is usable by plugins to return a user-agent string reflecting the running Vault version and an optional plugin name.

e.g. Vault/0.10.4 (+https://www.vaultproject.io/; azure-auth; go1.10.1)

func String

func String() string

String returns the consistent user-agent string for Vault.

e.g. Vault/0.10.4 (+https://www.vaultproject.io/; go1.10.1)

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier