validation

package
v3.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2018 License: MIT Imports: 7 Imported by: 10

Documentation

Index

Constants

View Source
const (
	ErrInvalidLabel         chkitErrors.Err = "invalid label"
	ErrInvalidImageName     chkitErrors.Err = "invalid image name"
	ErrInvalidContainerName chkitErrors.Err = "invalid container name"
	ErrInvalidDNSLabel      chkitErrors.Err = "invalid DNS label: "
)

Variables

This section is empty.

Functions

func DNSLabel

func DNSLabel(label string) error

RFC 952 and RFC 1123

func ValidateContainerName

func ValidateContainerName(name string) error

func ValidateID

func ValidateID(ID string) error

func ValidateImageName

func ValidateImageName(image string) error

func ValidateLabel

func ValidateLabel(label string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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