(ctx context.Context, options client.TaskListOptions)
| 27 | } |
| 28 | |
| 29 | func (f *fakeClient) TaskList(ctx context.Context, options client.TaskListOptions) (client.TaskListResult, error) { |
| 30 | if f.taskListFunc != nil { |
| 31 | return f.taskListFunc(ctx, options) |
| 32 | } |
| 33 | return client.TaskListResult{}, nil |
| 34 | } |
| 35 | |
| 36 | func (f *fakeClient) ServiceInspect(ctx context.Context, serviceID string, options client.ServiceInspectOptions) (client.ServiceInspectResult, error) { |
| 37 | if f.serviceInspectFunc != nil { |
no outgoing calls
no test coverage detected