MCPcopy
hub / github.com/helm/helm / String

Method String

pkg/chart/common/capabilities.go:82–87  ·  view source on GitHub ↗

String implements fmt.Stringer. Returns the normalized version used for constraint checking.

()

Source from the content-addressed store, hash-verified

80// String implements fmt.Stringer.
81// Returns the normalized version used for constraint checking.
82func (kv *KubeVersion) String() string {
83 if kv.normalizedVersion != "" {
84 return kv.normalizedVersion
85 }
86 return kv.Version
87}
88
89// GitVersion returns the full Kubernetes version string.
90//

Callers 12

TestLoadFilesOrderFunction · 0.45
processImportValuesFunction · 0.45
validateChartNameFunction · 0.45
validate_name.goFile · 0.45
TestDefaultCapabilitiesFunction · 0.45
TestParseKubeVersionFunction · 0.45
ParseKubeVersionFunction · 0.45
allKnownVersionsFunction · 0.45
ttplFunction · 0.45
ttplFunction · 0.45
ValidateAgainstSchemaFunction · 0.45

Calls

no outgoing calls

Tested by 6

TestLoadFilesOrderFunction · 0.36
TestDefaultCapabilitiesFunction · 0.36
TestParseKubeVersionFunction · 0.36
ttplFunction · 0.36
ttplFunction · 0.36