package tags
import "github.com/dotcloud/docker/graph/tags"
Index ¶
Constants ¶
const DefaultTag = "latest"
DefaultTag defines the default tag used when performing images related actions and no tag string is specified
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
Source Files ¶
- Version
- v1.9.0
- Published
- Nov 3, 2015
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 30 minutes ago –
Tools for package owners.