MCPcopy Create free account
hub / github.com/docker/cli / NodeList

Method NodeList

cli/command/service/client_test.go:22–27  ·  view source on GitHub ↗
(ctx context.Context, options client.NodeListOptions)

Source from the content-addressed store, hash-verified

20}
21
22func (f *fakeClient) NodeList(ctx context.Context, options client.NodeListOptions) (client.NodeListResult, error) {
23 if f.nodeListFunc != nil {
24 return f.nodeListFunc(ctx, options)
25 }
26 return client.NodeListResult{}, nil
27}
28
29func (f *fakeClient) TaskList(ctx context.Context, options client.TaskListOptions) (client.TaskListResult, error) {
30 if f.taskListFunc != nil {

Callers 1

getActiveNodesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected