tags

package
v1.4.2-0...-d2e7ba4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

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

func ValidateTagName(name string) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL