(config config.WorkerNodeConfig, cpApi *proto.CpiInterfaceClient)
| 142 | } |
| 143 | |
| 144 | func (w *WorkerNode) StopWorkerNode(config config.WorkerNodeConfig, cpApi *proto.CpiInterfaceClient) { |
| 145 | w.CleanResources() |
| 146 | w.DeregisterNodeFromControlPlane(config, cpApi) |
| 147 | } |
| 148 | |
| 149 | func (w *WorkerNode) CleanResources() { |
| 150 | keys := make([]string, 0) |
nothing calls this directly
no test coverage detected