FakeFetcher is a test implementation of catalog.Fetcher.
| 590 | |
| 591 | // FakeFetcher is a test implementation of catalog.Fetcher. |
| 592 | type FakeFetcher struct { |
| 593 | content map[string][]byte |
| 594 | } |
| 595 | |
| 596 | func (f *FakeFetcher) Fetch(_ context.Context, _ string) ([]byte, error) { |
| 597 | return nil, nil |
nothing calls this directly
no outgoing calls
no test coverage detected