tags

package
v1.9.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 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 added in v1.8.0

type ErrTagInvalidFormat struct {
	// contains filtered or unexported fields
}

ErrTagInvalidFormat is returned if tag is invalid.

func (ErrTagInvalidFormat) Error added in v1.8.0

func (e ErrTagInvalidFormat) Error() string

Jump to

Keyboard shortcuts

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