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

Method TaskList

cli/command/node/client_test.go:63–68  ·  view source on GitHub ↗
(_ context.Context, options client.TaskListOptions)

Source from the content-addressed store, hash-verified

61}
62
63func (cli *fakeClient) TaskList(_ context.Context, options client.TaskListOptions) (client.TaskListResult, error) {
64 if cli.taskListFunc != nil {
65 return cli.taskListFunc(options)
66 }
67 return client.TaskListResult{}, nil
68}
69
70func (cli *fakeClient) ServiceInspect(ctx context.Context, serviceID string, opts client.ServiceInspectOptions) (client.ServiceInspectResult, error) {
71 if cli.serviceInspectFunc != nil {

Callers 1

runPsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected