MCPcopy Create free account
hub / github.com/docker/cli / AddStackLabel

Function AddStackLabel

cli/compose/convert/compose.go:45–47  ·  view source on GitHub ↗

AddStackLabel returns labels with the namespace label added

(namespace Namespace, labels map[string]string)

Source from the content-addressed store, hash-verified

43
44// AddStackLabel returns labels with the namespace label added
45func AddStackLabel(namespace Namespace, labels map[string]string) map[string]string {
46 return addStackLabel(namespace, labels)
47}
48
49// addStackLabel returns labels with the namespace label added
50func addStackLabel(namespace Namespace, labels map[string]string) map[string]string {

Callers

nothing calls this directly

Calls 1

addStackLabelFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…