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

Method NetworkList

cli/command/network/client_test.go:41–46  ·  view source on GitHub ↗
(ctx context.Context, options client.NetworkListOptions)

Source from the content-addressed store, hash-verified

39}
40
41func (c *fakeClient) NetworkList(ctx context.Context, options client.NetworkListOptions) (client.NetworkListResult, error) {
42 if c.networkListFunc != nil {
43 return c.networkListFunc(ctx, options)
44 }
45 return client.NetworkListResult{}, nil
46}
47
48func (c *fakeClient) NetworkRemove(ctx context.Context, networkID string, _ client.NetworkRemoveOptions) (client.NetworkRemoveResult, error) {
49 if c.networkRemoveFunc != nil {

Callers 1

runListFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected