MCPcopy
hub / github.com/containerd/containerd / CRIImageService

Struct CRIImageService

internal/cri/server/images/service.go:53–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53type CRIImageService struct {
54 runtime.UnimplementedImageServiceServer
55
56 // config contains all image configurations.
57 config criconfig.ImageConfig
58 // images is the lower level image store used for raw storage,
59 // no event publishing should currently be assumed
60 images images.Store
61 // client is a subset of the containerd client
62 // and will be replaced by image store and transfer service
63 client imageClient
64 // imageFSPaths contains path to image filesystem for snapshotters.
65 imageFSPaths map[string]string
66 // runtimePlatforms are the platforms configured for a runtime.
67 runtimePlatforms map[string]ImagePlatform
68 // imageStore stores all resources associated with images.
69 imageStore *imagestore.Store
70 // snapshotStore stores information of all snapshots.
71 snapshotStore *snapshotstore.Store
72 // transferrer is used to pull image with transfer service
73 transferrer transfer.Transferrer
74 // unpackDuplicationSuppressor is used to make sure that there is only
75 // one in-flight fetch request or unpack handler for a given descriptor's
76 // or chain ID.
77 unpackDuplicationSuppressor kmutex.KeyedLocker
78
79 // downloadLimiter is used to limit the number of concurrent downloads.
80 downloadLimiter *semaphore.Weighted
81}
82
83type GRPCCRIImageService struct {
84 *CRIImageService

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected