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

Method NetworkDisconnect

cli/command/network/client_test.go:34–39  ·  view source on GitHub ↗
(ctx context.Context, networkID string, options client.NetworkDisconnectOptions)

Source from the content-addressed store, hash-verified

32}
33
34func (c *fakeClient) NetworkDisconnect(ctx context.Context, networkID string, options client.NetworkDisconnectOptions) (client.NetworkDisconnectResult, error) {
35 if c.networkDisconnectFunc != nil {
36 return c.networkDisconnectFunc(ctx, networkID, options)
37 }
38 return client.NetworkDisconnectResult{}, nil
39}
40
41func (c *fakeClient) NetworkList(ctx context.Context, options client.NetworkListOptions) (client.NetworkListResult, error) {
42 if c.networkListFunc != nil {

Callers 1

newDisconnectCommandFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected