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

Method NodeList

cli/command/node/client_test.go:28–33  ·  view source on GitHub ↗
(context.Context, client.NodeListOptions)

Source from the content-addressed store, hash-verified

26}
27
28func (cli *fakeClient) NodeList(context.Context, client.NodeListOptions) (client.NodeListResult, error) {
29 if cli.nodeListFunc != nil {
30 return cli.nodeListFunc()
31 }
32 return client.NodeListResult{}, nil
33}
34
35func (cli *fakeClient) NodeRemove(context.Context, string, client.NodeRemoveOptions) (client.NodeRemoveResult, error) {
36 if cli.nodeRemoveFunc != nil {

Callers 3

ReferenceFunction · 0.45
completeNodeNamesFunction · 0.45
runListFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected