Documentation ¶
Overview ¶
Package version contains utilities for working with semantic versions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operations ¶
type Operations interface { GetVersionString() string GetSemVer() (*semver.Version, error) InConstraints(c string) (bool, error) }
Operations provides semantic version operations.
type Versioner ¶
type Versioner struct {
// contains filtered or unexported fields
}
Versioner provides semantic version operations.
func (*Versioner) GetSemVer ¶
GetSemVer returns the current Crossplane version as a semantic version.
func (*Versioner) GetVersionString ¶
GetVersionString returns the current Crossplane version as string.
Click to show internal directories.
Click to hide internal directories.