(context *cli.Context, notifySocketHost, id string)
| 85 | } |
| 86 | |
| 87 | func notifySocketStart(context *cli.Context, notifySocketHost, id string) (*notifySocket, error) { |
| 88 | notifySocket := newNotifySocket(context, notifySocketHost, id) |
| 89 | if notifySocket == nil { |
| 90 | return nil, nil |
| 91 | } |
| 92 | |
| 93 | if err := notifySocket.bindSocket(); err != nil { |
| 94 | return nil, err |
| 95 | } |
| 96 | return notifySocket, nil |
| 97 | } |
| 98 | |
| 99 | func (s *notifySocket) waitForContainer(container *libcontainer.Container) error { |
| 100 | state, err := container.State() |
no test coverage detected
searching dependent graphs…