MCPcopy
hub / github.com/opencontainers/runc / notifySocketStart

Function notifySocketStart

notify_socket.go:87–97  ·  view source on GitHub ↗
(context *cli.Context, notifySocketHost, id string)

Source from the content-addressed store, hash-verified

85}
86
87func 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
99func (s *notifySocket) waitForContainer(container *libcontainer.Container) error {
100 state, err := container.State()

Callers 1

start.goFile · 0.85

Calls 2

newNotifySocketFunction · 0.85
bindSocketMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…