Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ForServiceName is the label for the service name. ForServiceName = "com.docker.service.name" // ForStackName is the label for the stack name. ForStackName = "com.docker.stack.namespace" // ForServiceID is the label for the service id. ForServiceID = "com.docker.service.id" )
Variables ¶
This section is empty.
Functions ¶
func ForService ¶
ForService gives the labels to select a given service in a stack.
func SelectorForStack ¶
SelectorForStack gives the labelSelector to use for a given stack. Specific service names can be passed to narrow down the selection.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.