addStackLabel returns labels with the namespace label added
(namespace Namespace, labels map[string]string)
| 48 | |
| 49 | // addStackLabel returns labels with the namespace label added |
| 50 | func addStackLabel(namespace Namespace, labels map[string]string) map[string]string { |
| 51 | if labels == nil { |
| 52 | labels = make(map[string]string) |
| 53 | } |
| 54 | labels[LabelNamespace] = namespace.name |
| 55 | return labels |
| 56 | } |
| 57 | |
| 58 | type networkMap map[string]composetypes.NetworkConfig |
| 59 |
no outgoing calls
searching dependent graphs…