package labels

import "github.com/docker/cli/kubernetes/labels"

Index

Constants

const (
	// ForServiceName is the label for the service name.
	// Deprecated: Use github.com/docker/compose-on-kubernetes/api/labels.ForServiceName instead
	ForServiceName = labels.ForServiceName
	// ForStackName is the label for the stack name.
	// Deprecated: Use github.com/docker/compose-on-kubernetes/api/labels.ForStackName instead
	ForStackName = labels.ForStackName
	// ForServiceID is the label for the service id.
	// Deprecated: Use github.com/docker/compose-on-kubernetes/api/labels.ForServiceID instead
	ForServiceID = labels.ForServiceID
)

Variables

var ForService = labels.ForService

ForService gives the labels to select a given service in a stack. Deprecated: Use github.com/docker/compose-on-kubernetes/api/labels.ForService instead

var SelectorForStack = labels.SelectorForStack

SelectorForStack gives the labelSelector to use for a given stack. Specific service names can be passed to narrow down the selection. Deprecated: Use github.com/docker/compose-on-kubernetes/api/labels.SelectorForStack instead

Source Files

labels.go

Version
v20.10.22+incompatible
Published
Dec 15, 2022
Platform
darwin/amd64
Imports
1 packages
Last checked
5 minutes ago

Tools for package owners.