package parsers
import "github.com/docker/docker/pkg/parsers"
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)
Functions ¶
func ParseHost ¶
FIXME: Change this not to receive default value as parameter
func ParseKeyValueOpt ¶
func ParsePortRange ¶
func ParseRepositoryTag ¶
Get a repos name and returns the right reposName + tag The tag can be confusing because of a port in a repository name.
Ex: localhost.localdomain:5000/samalba/hipache:latest
func ParseTCPAddr ¶
func ParseUnixAddr ¶
func PartParser ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
pkg/parsers/filters | |
pkg/parsers/kernel | |
pkg/parsers/operatingsystem |
- Version
- v1.5.0-rc2
- Published
- Jan 28, 2015
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 4 seconds ago –
Tools for package owners.