import "istio.io/istio/operator/pkg/version"
IsVersionString checks whether the given string is a version string
TagToVersionString converts an istio container tag into a version string
TagToVersionString converts an istio container tag into a version string, if any error, fallback to use the original tag.
MajorVersion represents a major version.
func NewMajorVersion(major uint32) MajorVersion
NewMajorVersion creates an initialized MajorVersion struct.
func (v MajorVersion) String() string
String implements the Stringer interface.
type MinorVersion struct { MajorVersion Minor uint32 }
MinorVersion represents a minor version.
func NewMinorVersion(major, minor uint32) MinorVersion
NewMinorVersion creates an initialized MinorVersion struct.
func (v MinorVersion) String() string
String implements the Stringer interface.
type PatchVersion struct { MinorVersion Patch uint32 }
PatchVersion represents a patch version.
func NewPatchVersion(major, minor, patch uint32) PatchVersion
NewPatchVersion creates an initialized PatchVersion struct.
func (v PatchVersion) String() string
String implements the Stringer interface.
type Version struct { PatchVersion Suffix string }
Version represents a version with an optional suffix.
NewVersion creates an initialized Version struct.
NewVersionFromString creates a new Version from the provided SemVer formatted string and returns a pointer to it.
String implements the Stringer interface.
UnmarshalYAML implements the Unmarshaler interface.
Package version imports 5 packages (graph) and is imported by 4 packages. Updated 2020-10-21. Refresh now. Tools for package owners.