(context.Context, client.InfoOptions)
| 47 | } |
| 48 | |
| 49 | func (cli *fakeClient) Info(context.Context, client.InfoOptions) (client.SystemInfoResult, error) { |
| 50 | if cli.infoFunc != nil { |
| 51 | return cli.infoFunc() |
| 52 | } |
| 53 | return client.SystemInfoResult{}, nil |
| 54 | } |
| 55 | |
| 56 | func (cli *fakeClient) TaskInspect(_ context.Context, taskID string, _ client.TaskInspectOptions) (client.TaskInspectResult, error) { |
| 57 | if cli.taskInspectFunc != nil { |
no outgoing calls
no test coverage detected