(ctx context.Context, options client.ImageListOptions)
| 54 | } |
| 55 | |
| 56 | func (cli *fakeClient) ImageList(ctx context.Context, options client.ImageListOptions) (client.ImageListResult, error) { |
| 57 | if cli.imageListFunc != nil { |
| 58 | return cli.imageListFunc(ctx, options) |
| 59 | } |
| 60 | return client.ImageListResult{}, nil |
| 61 | } |
| 62 | |
| 63 | func (cli *fakeClient) Info(ctx context.Context, options client.InfoOptions) (client.SystemInfoResult, error) { |
| 64 | if cli.infoFunc != nil { |