MCPcopy
hub / github.com/hashicorp/vault / String

Function String

helper/useragent/useragent.go:31–34  ·  view source on GitHub ↗

String returns the consistent user-agent string for Vault. e.g. Vault/0.10.4 (+https://www.vaultproject.io/; go1.10.1)

()

Source from the content-addressed store, hash-verified

29//
30// e.g. Vault/0.10.4 (+https://www.vaultproject.io/; go1.10.1)
31func String() string {
32 return fmt.Sprintf("Vault/%s (+%s; %s)",
33 versionFunc(), projectURL, rt)
34}
35
36// AgentString returns the consistent user-agent string for Vault Agent.
37//

Callers 9

NewBackendFunction · 0.92
NewBackendFunction · 0.92
RunMethod · 0.92
getMetadataInfoFunction · 0.92
TestUserAgentFunction · 0.70
onMountErrorMethod · 0.50
getDependencyTreeFunction · 0.50

Calls

no outgoing calls

Tested by 1

TestUserAgentFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…