github.com/ali-iotechsys/cli@v20.10.0+incompatible/kubernetes/labels/labels.go (about)

     1  package labels
     2  
     3  import labels "github.com/docker/compose-on-kubernetes/api/labels"
     4  
     5  const (
     6  	// ForServiceName is the label for the service name.
     7  	// Deprecated: Use github.com/docker/compose-on-kubernetes/api/labels.ForServiceName instead
     8  	ForServiceName = labels.ForServiceName
     9  	// ForStackName is the label for the stack name.
    10  	// Deprecated: Use github.com/docker/compose-on-kubernetes/api/labels.ForStackName instead
    11  	ForStackName = labels.ForStackName
    12  	// ForServiceID is the label for the service id.
    13  	// Deprecated: Use github.com/docker/compose-on-kubernetes/api/labels.ForServiceID instead
    14  	ForServiceID = labels.ForServiceID
    15  )
    16  
    17  // ForService gives the labels to select a given service in a stack.
    18  // Deprecated: Use github.com/docker/compose-on-kubernetes/api/labels.ForService instead
    19  var ForService = labels.ForService
    20  
    21  // SelectorForStack gives the labelSelector to use for a given stack.
    22  // Specific service names can be passed to narrow down the selection.
    23  // Deprecated: Use github.com/docker/compose-on-kubernetes/api/labels.SelectorForStack instead
    24  var SelectorForStack = labels.SelectorForStack