2017-11-20 09:30:52 -05:00
|
|
|
package labels
|
|
|
|
|
2018-12-19 10:36:25 -05:00
|
|
|
import labels "github.com/docker/compose-on-kubernetes/api/labels"
|
2017-11-20 09:30:52 -05:00
|
|
|
|
|
|
|
const (
|
|
|
|
// ForServiceName is the label for the service name.
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/labels.ForServiceName instead
|
|
|
|
ForServiceName = labels.ForServiceName
|
2017-11-20 09:30:52 -05:00
|
|
|
// ForStackName is the label for the stack name.
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/labels.ForStackName instead
|
|
|
|
ForStackName = labels.ForStackName
|
2017-11-20 09:30:52 -05:00
|
|
|
// ForServiceID is the label for the service id.
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/labels.ForServiceID instead
|
|
|
|
ForServiceID = labels.ForServiceID
|
2017-11-20 09:30:52 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
// ForService gives the labels to select a given service in a stack.
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/labels.ForService instead
|
|
|
|
var ForService = labels.ForService
|
2017-11-20 09:30:52 -05:00
|
|
|
|
|
|
|
// SelectorForStack gives the labelSelector to use for a given stack.
|
|
|
|
// Specific service names can be passed to narrow down the selection.
|
2018-12-19 10:36:25 -05:00
|
|
|
// Deprecated: Use github.com/docker/compose-on-kubernetes/api/labels.SelectorForStack instead
|
|
|
|
var SelectorForStack = labels.SelectorForStack
|