MCPcopy
hub / github.com/containerd/containerd / containerFromRecord

Function containerFromRecord

client/container.go:92–98  ·  view source on GitHub ↗
(client *Client, c containers.Container)

Source from the content-addressed store, hash-verified

90}
91
92func containerFromRecord(client *Client, c containers.Container) *container {
93 return &container{
94 client: client,
95 id: c.ID,
96 metadata: c,
97 }
98}
99
100var _ = (Container)(&container{})
101

Callers 3

ContainersMethod · 0.85
NewContainerMethod · 0.85
LoadContainerMethod · 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…