(ctx context.Context, serviceID string, options client.ServiceInspectOptions)
| 34 | } |
| 35 | |
| 36 | func (f *fakeClient) ServiceInspect(ctx context.Context, serviceID string, options client.ServiceInspectOptions) (client.ServiceInspectResult, error) { |
| 37 | if f.serviceInspectFunc != nil { |
| 38 | return f.serviceInspectFunc(ctx, serviceID, options) |
| 39 | } |
| 40 | |
| 41 | return client.ServiceInspectResult{ |
| 42 | Service: *builders.Service(builders.ServiceID(serviceID)), |
| 43 | }, nil |
| 44 | } |
| 45 | |
| 46 | func (f *fakeClient) ServiceList(ctx context.Context, options client.ServiceListOptions) (client.ServiceListResult, error) { |
| 47 | if f.serviceListFunc != nil { |
no outgoing calls
no test coverage detected