Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Semver ¶
type Semver string
Semver is a type that encapsulates github.com/Masterminds/semver/v3.Version struct so it can be used in our API.
func NewSemverOrDie ¶
NewSemverOrDie behaves similar to NewVersion, i.e. it creates new Semver version struct, but panics if an error happens.
func (*Semver) DeepCopyInto ¶
func (*Semver) MajorMinor ¶
MajorMinor returns a string like "Major.Minor".
func (*Semver) Semver ¶
Semver returns github.com/Masterminds/semver/v3 struct. In case when Semver is nil, nil will be returned. In case of parsing error, nil will be returned.
Click to show internal directories.
Click to hide internal directories.