MCPcopy Create free account
hub / github.com/cloudfoundry/multiapps-cli-plugin / SetCfCliVersion

Function SetCfCliVersion

util/user_agent_builder.go:27–29  ·  view source on GitHub ↗

SetCfCliVersion sets the cf CLI version for use in User-Agent

(version string)

Source from the content-addressed store, hash-verified

25
26// SetCfCliVersion sets the cf CLI version for use in User-Agent
27func SetCfCliVersion(version string) {
28 cfCliVersion = version
29}
30
31// GetPluginVersion returns the current plugin version
32func GetPluginVersion() string {

Callers 2

RunMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected