# Functions
Compare 2 semver versions.
ParseMajorMinorPatch returns a semver.Version from the string provided by looking only at major.minor.patch and stripping everything else out.
ParseMajorMinorPatchTolerant returns a semver.Version from the string provided by looking only at major.minor.patch and stripping everything else out.
WithBuildTags modifies the version comparison to also consider build tags when comparing versions.
WithoutPreReleases modifies the version comparison to not consider pre-releases when comparing versions.
# Variables
KubeSemver is the regex for Kubernetes versions.
KubeSemverTolerant is the regex for Kubernetes versions with an optional "v" prefix.
# Type aliases
CompareOption is a configuration option for Compare.