ContentStore should be called to get a Provider with caching
(client *containerd.Client)
| 31 | |
| 32 | // ContentStore should be called to get a Provider with caching |
| 33 | func NewProvider(client *containerd.Client) content.Provider { |
| 34 | return &providerWithCache{ |
| 35 | client.ContentStore(), |
| 36 | make(map[string]*readerAtWithCache), |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | type providerWithCache struct { |
| 41 | native content.Provider |
no outgoing calls
no test coverage detected
searching dependent graphs…