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

Function getAllStacksFilter

cli/command/stack/common.go:48–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48func getAllStacksFilter() client.Filters {
49 return make(client.Filters).Add("label", convert.LabelNamespace)
50}
51
52func getStackServices(ctx context.Context, apiclient client.APIClient, namespace string) (client.ServiceListResult, error) {
53 return apiclient.ServiceList(ctx, client.ServiceListOptions{Filters: getStackFilter(namespace)})

Callers 1

getStacksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…