MCPcopy
hub / github.com/eksctl-io/eksctl / String

Function String

pkg/version/version.go:41–46  ·  view source on GitHub ↗

String return version info as JSON

()

Source from the content-addressed store, hash-verified

39
40// String return version info as JSON
41func String() string {
42 if data, err := json.Marshal(GetVersionInfo()); err == nil {
43 return string(data)
44 }
45 return ""
46}
47
48// GetVersion return the exact version of this build
49func GetVersion() string {

Callers 3

newV2ConfigFunction · 0.92
versionCmdFunction · 0.92

Calls 1

GetVersionInfoFunction · 0.85

Tested by

no test coverage detected