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

Function getStackNetworks

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

Source from the content-addressed store, hash-verified

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)})
58}
59
60func getStackSecrets(ctx context.Context, apiclient client.APIClient, namespace string) (client.SecretListResult, error) {
61 return apiclient.SecretList(ctx, client.SecretListOptions{Filters: getStackFilter(namespace)})

Callers 2

createNetworksFunction · 0.85
runRemoveFunction · 0.85

Calls 2

getStackFilterFunction · 0.85
NetworkListMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…