(context.Context, string, client.NodeInspectOptions)
| 31 | } |
| 32 | |
| 33 | func (cli *fakeClient) NodeInspect(context.Context, string, client.NodeInspectOptions) (client.NodeInspectResult, error) { |
| 34 | if cli.nodeInspectFunc != nil { |
| 35 | return cli.nodeInspectFunc() |
| 36 | } |
| 37 | return client.NodeInspectResult{}, nil |
| 38 | } |
| 39 | |
| 40 | func (cli *fakeClient) SwarmInit(_ context.Context, options client.SwarmInitOptions) (client.SwarmInitResult, error) { |
| 41 | if cli.swarmInitFunc != nil { |
no outgoing calls
no test coverage detected