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

Method SandboxStore

client/client.go:806–813  ·  view source on GitHub ↗

SandboxStore returns the underlying sandbox store client

()

Source from the content-addressed store, hash-verified

804
805// SandboxStore returns the underlying sandbox store client
806func (c *Client) SandboxStore() sandbox.Store {
807 if c.sandboxStore != nil {
808 return c.sandboxStore
809 }
810 c.connMu.Lock()
811 defer c.connMu.Unlock()
812 return sandboxproxy.NewSandboxStore(sandboxsapi.NewStoreClient(c.conn))
813}
814
815// SandboxController returns the underlying sandbox controller client
816func (c *Client) SandboxController(name string) sandbox.Controller {

Callers 2

NewSandboxMethod · 0.95
LoadSandboxMethod · 0.95

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected