List is part of kv.Client interface.
(ctx context.Context, prefix string)
| 61 | |
| 62 | // List is part of kv.Client interface. |
| 63 | func (c *Client) List(ctx context.Context, prefix string) ([]string, error) { |
| 64 | err := c.awaitKVRunningOrStopping(ctx) |
| 65 | if err != nil { |
| 66 | return nil, err |
| 67 | } |
| 68 | |
| 69 | return c.kv.List(prefix), nil |
| 70 | } |
| 71 | |
| 72 | // Get is part of kv.Client interface. |
| 73 | func (c *Client) Get(ctx context.Context, key string) (interface{}, error) { |
nothing calls this directly
no test coverage detected