(context.Context, client.InfoOptions)
| 21 | } |
| 22 | |
| 23 | func (cli *fakeClient) Info(context.Context, client.InfoOptions) (client.SystemInfoResult, error) { |
| 24 | if cli.infoFunc != nil { |
| 25 | inf, err := cli.infoFunc() |
| 26 | return client.SystemInfoResult{ |
| 27 | Info: inf, |
| 28 | }, err |
| 29 | } |
| 30 | return client.SystemInfoResult{}, nil |
| 31 | } |
| 32 | |
| 33 | func (cli *fakeClient) NodeInspect(context.Context, string, client.NodeInspectOptions) (client.NodeInspectResult, error) { |
| 34 | if cli.nodeInspectFunc != nil { |
no outgoing calls
no test coverage detected