()
| 127 | } |
| 128 | |
| 129 | func (f *Funclet) InitAllContainers() { |
| 130 | for i := 0; i < f.Options.ContainerNum; i++ { |
| 131 | id := generateContainerID(f.PodName, i) |
| 132 | if err := f.InitContainerEvent(id); err != nil { |
| 133 | f.logger.Errorf("init container %s failed: %+v", id, err) |
| 134 | } |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | // tools to reset node |
| 139 | func (f *Funclet) Reset() (err error) { |
no test coverage detected