useragent

package
v1.14.5 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MPL-2.0 Imports: 3 Imported by: 58

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AgentAutoAuthString added in v1.14.0

func AgentAutoAuthString() string

AgentAutoAuthString returns the consistent user-agent string for Vault Agent Auto-Auth.

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

func AgentProxyString added in v1.14.0

func AgentProxyString() string

AgentProxyString returns the consistent user-agent string for Vault Agent API Proxying.

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

func AgentProxyStringWithProxiedUserAgent added in v1.14.0

func AgentProxyStringWithProxiedUserAgent(proxiedUserAgent string) string

AgentProxyStringWithProxiedUserAgent returns the consistent user-agent string for Vault Agent API Proxying, keeping the User-Agent of the proxied client as an extension to this UserAgent

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

func AgentString added in v1.14.0

func AgentString() string

AgentString returns the consistent user-agent string for Vault Agent.

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

func AgentTemplatingString added in v1.14.0

func AgentTemplatingString() string

AgentTemplatingString returns the consistent user-agent string for Vault Agent Templating.

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

func ProxyAPIProxyString added in v1.14.0

func ProxyAPIProxyString() string

ProxyAPIProxyString returns the consistent user-agent string for Vault Proxy API Proxying.

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

func ProxyAutoAuthString added in v1.14.0

func ProxyAutoAuthString() string

ProxyAutoAuthString returns the consistent user-agent string for Vault Agent Auto-Auth.

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

func ProxyString added in v1.14.0

func ProxyString() string

ProxyString returns the consistent user-agent string for Vault Proxy.

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

func ProxyStringWithProxiedUserAgent added in v1.14.0

func ProxyStringWithProxiedUserAgent(proxiedUserAgent string) string

ProxyStringWithProxiedUserAgent returns the consistent user-agent string for Vault Proxy API Proxying, keeping the User-Agent of the proxied client as an extension to this UserAgent

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

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)

Types

This section is empty.

Jump to

Keyboard shortcuts

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