(pid int)
| 168 | } |
| 169 | |
| 170 | func (f *Funclet) SetNetwork(pid int) error { |
| 171 | if err := f.NetworkManager.SetContainerNet(pid); err != nil { |
| 172 | return fmt.Errorf("set container net failed: %s", err) |
| 173 | } |
| 174 | |
| 175 | return nil |
| 176 | } |
| 177 | |
| 178 | func (f *Funclet) initializeIO(containerID string) (std *stdio, err error) { |
| 179 | var pr1, pr2 io.ReadCloser |
nothing calls this directly
no test coverage detected