Documentation ¶
Index ¶
- func ParseHost(defaultTCPAddr, defaultUnixAddr, addr string) (string, error)
- func ParseKeyValueOpt(opt string) (string, string, error)
- func ParsePortRange(ports string) (uint64, uint64, error)
- func ParseRepositoryTag(repos string) (string, string)
- func ParseTCPAddr(addr string, defaultAddr string) (string, error)
- func ParseUnixAddr(addr string, defaultAddr string) (string, error)
- func PartParser(template, data string) (map[string]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseRepositoryTag ¶
Get a repos name and returns the right reposName + tag|digest The tag can be confusing because of a port in a repository name.
Ex: localhost.localdomain:5000/samalba/hipache:latest Digest ex: localhost:5000/foo/bar@sha256:bc8813ea7b3603864987522f02a76101c17ad122e1c46d790efc0fca78ca7bfb
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.