()
| 163 | } |
| 164 | |
| 165 | func (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 | |
| 176 | type EventLock struct { |
| 177 | c chan struct{} |