MCPcopy Index your code
hub / github.com/docker/cli / getStackFilterFromOpt

Function getStackFilterFromOpt

cli/command/stack/common.go:42–46  ·  view source on GitHub ↗
(namespace string, opt opts.FilterOpt)

Source from the content-addressed store, hash-verified

40}
41
42func getStackFilterFromOpt(namespace string, opt opts.FilterOpt) client.Filters {
43 filter := opt.Value()
44 filter.Add("label", convert.LabelNamespace+"="+namespace)
45 return filter
46}
47
48func getAllStacksFilter() client.Filters {
49 return make(client.Filters).Add("label", convert.LabelNamespace)

Callers 2

runPSFunction · 0.85
runServicesFunction · 0.85

Calls 1

ValueMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…