MCPcopy
hub / github.com/helm/helm / GetUserAgent

Function GetUserAgent

internal/version/version.go:74–76  ·  view source on GitHub ↗

GetUserAgent returns a user agent for user with an HTTP client

()

Source from the content-addressed store, hash-verified

72
73// GetUserAgent returns a user agent for user with an HTTP client
74func GetUserAgent() string {
75 return "Helm/" + strings.TrimPrefix(GetVersion(), "v")
76}
77
78// Get returns build info
79func Get() BuildInfo {

Callers 7

LoadMethod · 0.92
NewClientFunction · 0.92
NewFunction · 0.92
TestDownloadFunction · 0.92
getMethod · 0.92
SearchMethod · 0.92

Calls 1

GetVersionFunction · 0.85

Tested by 2

TestDownloadFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…