Method
List
(ctx context.Context, list client.ObjectList, opts ...client.ListOption)
Source from the content-addressed store, hash-verified
| 13 | } |
| 14 | |
| 15 | func (r SpyReader) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error { |
| 16 | if r.ListFunc != nil { |
| 17 | return r.ListFunc(ctx, list, opts...) |
| 18 | } |
| 19 | return r.Reader.List(ctx, list, opts...) |
| 20 | } |
| 21 | |
| 22 | // FailureInjector can be used in combination with the SpyReader to simulate transient |
| 23 | // failures for network calls. |
Callers
nothing calls this directly
Tested by
no test coverage detected