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

Method NodeUpdate

cli/command/node/client_test.go:42–47  ·  view source on GitHub ↗
(_ context.Context, nodeID string, options client.NodeUpdateOptions)

Source from the content-addressed store, hash-verified

40}
41
42func (cli *fakeClient) NodeUpdate(_ context.Context, nodeID string, options client.NodeUpdateOptions) (client.NodeUpdateResult, error) {
43 if cli.nodeUpdateFunc != nil {
44 return cli.nodeUpdateFunc(nodeID, options)
45 }
46 return client.NodeUpdateResult{}, nil
47}
48
49func (cli *fakeClient) Info(context.Context, client.InfoOptions) (client.SystemInfoResult, error) {
50 if cli.infoFunc != nil {

Callers 1

updateNodesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected