MCPcopy Index your code
hub / github.com/containerd/containerd / WithContentStore

Function WithContentStore

client/services.go:65–69  ·  view source on GitHub ↗

WithContentStore sets the content store.

(contentStore content.Store)

Source from the content-addressed store, hash-verified

63
64// WithContentStore sets the content store.
65func WithContentStore(contentStore content.Store) ServicesOpt {
66 return func(s *services) {
67 s.contentStore = contentStore
68 }
69}
70
71// WithImageClient sets the image service to use using an images client.
72func WithImageClient(imageService imagesapi.ImagesClient) ServicesOpt {

Callers 1

WithInMemoryServicesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…