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

Function getStackServices

cli/command/stack/common.go:52–54  ·  view source on GitHub ↗
(ctx context.Context, apiclient client.APIClient, namespace string)

Source from the content-addressed store, hash-verified

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)})
54}
55
56func getStackNetworks(ctx context.Context, apiclient client.APIClient, namespace string) (client.NetworkListResult, error) {
57 return apiclient.NetworkList(ctx, client.NetworkListOptions{Filters: getStackFilter(namespace)})

Callers 3

deployServicesFunction · 0.85
runRemoveFunction · 0.85
pruneServicesFunction · 0.85

Calls 2

getStackFilterFunction · 0.85
ServiceListMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…