(ctx context.Context, key string, opts ...clientv3.OpOption)
| 88 | } |
| 89 | |
| 90 | func (c *RecordingClient) Get(ctx context.Context, key string, opts ...clientv3.OpOption) (*clientv3.GetResponse, error) { |
| 91 | op := clientv3.OpGet(key, opts...) |
| 92 | return c.Range(ctx, key, string(op.RangeBytes()), op.Rev(), op.Limit()) |
| 93 | } |
| 94 | |
| 95 | func (c *RecordingClient) Range(ctx context.Context, start, end string, revision, limit int64) (*clientv3.GetResponse, error) { |
| 96 | ops := []clientv3.OpOption{} |
no test coverage detected