Documentation ¶
Index ¶
Constants ¶
View Source
const ( NUMBER = Label("com.docker.compose.container-number") ONEOFF = Label("com.docker.compose.oneoff") PROJECT = Label("com.docker.compose.project") SERVICE = Label("com.docker.compose.service") HASH = Label("com.docker.compose.config-hash") VERSION = Label("com.docker.compose.version") PROJECT_LEGACY = Label("io.docker.compose.project") SERVICE_LEGACY = Label("io.docker.compose.service") HASH_LEGACY = Label("io.docker.compose.config-hash") )
Libcompose default labels.
Variables ¶
This section is empty.
Functions ¶
func AndString ¶
AndString returns a json list of labels by merging the two specified values (left and right) serialized as string.
func LabelFilter ¶
LabelFilter returns a label map representation of the specifed couple (key,value) that is used as filter for docker.
func LabelFilterString ¶
LabelFilterString returns a label json string representation of the specifed couple (key,value) that is used as filter for docker.
Types ¶
Click to show internal directories.
Click to hide internal directories.