(ctx context.Context, networkID string, options client.NetworkInspectOptions)
| 67 | } |
| 68 | |
| 69 | func (f *fakeClient) NetworkInspect(ctx context.Context, networkID string, options client.NetworkInspectOptions) (client.NetworkInspectResult, error) { |
| 70 | if f.networkInspectFunc != nil { |
| 71 | return f.networkInspectFunc(ctx, networkID, options) |
| 72 | } |
| 73 | return client.NetworkInspectResult{}, nil |
| 74 | } |
| 75 | |
| 76 | func newService(id string, name string) swarm.Service { |
| 77 | return *builders.Service(builders.ServiceID(id), builders.ServiceName(name)) |
no outgoing calls
no test coverage detected