(ctx context.Context, options client.NodeListOptions)
| 82 | } |
| 83 | |
| 84 | func (cli *fakeClient) NodeList(ctx context.Context, options client.NodeListOptions) (client.NodeListResult, error) { |
| 85 | if cli.nodeListFunc != nil { |
| 86 | return cli.nodeListFunc(ctx, options) |
| 87 | } |
| 88 | return client.NodeListResult{}, nil |
| 89 | } |
| 90 | |
| 91 | func (cli *fakeClient) ServerVersion(ctx context.Context, options client.ServerVersionOptions) (client.ServerVersionResult, error) { |
| 92 | return cli.serverVersion(ctx, options) |