var version … var buildDate … const developmentVersion … type Provenance … // GetProvenance returns an instance of Provenance. func GetProvenance() Provenance { … } func GetMostRecentTag(m debug.Module) (string, error) { … } // Short returns the shortened provenance stamp. func (v Provenance) Short() string { … } // Semver returns the semantic version of kustomize. // kustomize version is set in format "kustomize/vX.X.X" in every release. // X.X.X is a semver. If the version string is not in this format, // return the original version string func (v Provenance) Semver() string { … }