package parsers

import "github.com/docker/docker/pkg/parsers"

Index

Functions

func ParseHost

func ParseHost(defaultHost string, defaultUnix, addr string) (string, error)

FIXME: Change this not to receive default value as parameter

func ParseKeyValueOpt

func ParseKeyValueOpt(opt string) (string, string, error)

func ParseRepositoryTag

func ParseRepositoryTag(repos string) (string, string)

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 PartParser

func PartParser(template, data string) (map[string]string, error)

Source Files

parsers.go

Directories

PathSynopsis
pkg/parsers/filters
pkg/parsers/kernel
pkg/parsers/operatingsystem
Version
v1.3.1
Published
Oct 30, 2014
Platform
js/wasm
Imports
3 packages
Last checked
1 minute ago

Tools for package owners.