Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageVersion ¶
func NewImageVersion ¶
func NewImageVersion(tag string, tagFmt TagFormat) (ImageVersion, error)
NewImageVersion creates ImageVersion according to TagFormat
type SemanticImageVersion ¶
type SemanticImageVersion struct {
// contains filtered or unexported fields
}
func NewSemanticImageVersion ¶
func NewSemanticImageVersion(tag string) (*SemanticImageVersion, error)
NewSemanticImageVersion creates SemanticImageVersion
func (*SemanticImageVersion) Compare ¶
func (v *SemanticImageVersion) Compare(anotherTag string) (int, error)
Compare compares with the specified tag
func (*SemanticImageVersion) GetTag ¶
func (v *SemanticImageVersion) GetTag() string
GetTag is a getter for getting tag members
type SerialImageVersion ¶
type SerialImageVersion struct {
// contains filtered or unexported fields
}
func NewSerialImageVersion ¶
func NewSerialImageVersion(tag string) (*SerialImageVersion, error)
NewSerialImageVersion creates SerialImageVersion
func (*SerialImageVersion) Compare ¶
func (v *SerialImageVersion) Compare(anotherTag string) (int, error)
Compare compares with the specified tag
func (*SerialImageVersion) GetTag ¶
func (v *SerialImageVersion) GetTag() string
GetTag is a getter for getting tag members
Click to show internal directories.
Click to hide internal directories.