MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / Copy

Method Copy

pkg/api/funclet.go:165–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163}
164
165func (c *ContainerInfo) Copy() (nc *ContainerInfo) {
166 return &ContainerInfo{
167 Hostname: c.Hostname,
168 ContainerID: c.ContainerID,
169 HostPid: c.HostPid,
170 IsFrozen: c.IsFrozen,
171 WithStreamMode: c.WithStreamMode,
172 Resource: c.Resource.Copy(),
173 }
174}
175
176type EventLock struct {
177 c chan struct{}

Callers

nothing calls this directly

Calls 1

CopyMethod · 0.45

Tested by

no test coverage detected