Documentation
¶
Overview ¶
Package labels provides parsing of labels into a key-value map.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Labels ¶
Labels represents a set of labels (key-value pairs).
func MakeLabels ¶
MakeLabels parses the passed labels arguments in either form of “foo=bar” or “foo=”, returning a Labels map for further use in the Docker API. In case of an invalid label (such as "", "=", or "=bar"), MakeLabels returns an error.
Click to show internal directories.
Click to hide internal directories.