MCPcopy
hub / github.com/containerd/containerd / ImageService

Method ImageService

client/client.go:749–756  ·  view source on GitHub ↗

ImageService returns the underlying image Store

()

Source from the content-addressed store, hash-verified

747
748// ImageService returns the underlying image Store
749func (c *Client) ImageService() images.Store {
750 if c.imageStore != nil {
751 return c.imageStore
752 }
753 c.connMu.Lock()
754 defer c.connMu.Unlock()
755 return NewImageStoreFromClient(imagesapi.NewImagesClient(c.conn))
756}
757
758// DiffService returns the underlying Differ
759func (c *Client) DiffService() DiffService {

Callers 4

createNewImageMethod · 0.95
ImportMethod · 0.95
GetImageMethod · 0.95
ListImagesMethod · 0.95

Calls 3

NewImageStoreFromClientFunction · 0.85
LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected