Documentation ¶
Overview ¶
Package bumpvalidator provides validation for semver bumps.
Index ¶
Constants ¶
View Source
const ( VersionMajor = "major" VersionMinor = "minor" VersionPatch = "patch" )
VersionKind constants start with Version
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RetrogressiveUpdateError ¶
type RetrogressiveUpdateError struct {
From, To uint64
VersionKind VersionKind
}
RetrogressiveUpdateError is an error that signals that a version was erroneously decremented.
func (RetrogressiveUpdateError) Error ¶
func (e RetrogressiveUpdateError) Error() string
Error implements (error).Error
type VersionSkippedError ¶
type VersionSkippedError struct {
Major, Minor, Patch uint64
}
VersionSkippedError is an error that signals that a version was skipped.
func (VersionSkippedError) Error ¶
func (e VersionSkippedError) Error() string
Error implements (error).Error
Click to show internal directories.
Click to hide internal directories.