vault: github.com/hashicorp/vault/sdk/helper/useragent Index | Files

package useragent

import "github.com/hashicorp/vault/sdk/helper/useragent"

Index

Package Files

useragent.go

func PluginString Uses

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 Uses

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)

Package useragent imports 4 packages (graph) and is imported by 12 packages. Updated 2019-04-12. Refresh now. Tools for package owners.