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

Method NodeList

cli/command/system/client_test.go:84–89  ·  view source on GitHub ↗
(ctx context.Context, options client.NodeListOptions)

Source from the content-addressed store, hash-verified

82}
83
84func (cli *fakeClient) NodeList(ctx context.Context, options client.NodeListOptions) (client.NodeListResult, error) {
85 if cli.nodeListFunc != nil {
86 return cli.nodeListFunc(ctx, options)
87 }
88 return client.NodeListResult{}, nil
89}
90
91func (cli *fakeClient) ServerVersion(ctx context.Context, options client.ServerVersionOptions) (client.ServerVersionResult, error) {
92 return cli.serverVersion(ctx, options)

Callers 1

nodeNamesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected