Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SemVer ¶
type SemVer struct {
// contains filtered or unexported fields
}
SemVer is a struct to contain a SemVer of an image tag.
func (*SemVer) HasMetaData ¶
HasMetaData returns whether this SemVer has metadata. MetaData is defined as a tag containing anything after the patch digit. e.g. v1.0.1-gke.3, v1.0.1-alpha.0, v1.2.3.4
func (*SemVer) LessThan ¶
LessThan will return true if the given semver is equal, or larger that the calling semver. If the calling SemVer has metadata, then ASCII comparison will take place on the version. e.g. v1.0.1-alpha.1 < v1.0.1-beta.0
Click to show internal directories.
Click to hide internal directories.