validation

package
v3.1.2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 28, 2018 License: MIT Imports: 5 Imported by: 0

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 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