Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultTag = "latest"
DefaultTag defines the default tag used when performing images related actions and no tag string is specified
Variables ¶
This section is empty.
Functions ¶
func ValidateTagName ¶
ValidateTagName validates the name of a tag. It returns an error if the given name is an emtpy string. If name does not match v2.TagNameAnchoredRegexp regexp, it returns ErrTagInvalidFormat
Types ¶
type ErrTagInvalidFormat ¶
type ErrTagInvalidFormat struct {
// contains filtered or unexported fields
}
ErrTagInvalidFormat is returned if tag is invalid.
func (ErrTagInvalidFormat) Error ¶
func (e ErrTagInvalidFormat) Error() string
Click to show internal directories.
Click to hide internal directories.