ResetWorker cleanup the kubeConfig and kill ttyd
(_ context.Context, cloudshell *cloudshellv1alpha1.CloudShell)
| 927 | |
| 928 | // ResetWorker cleanup the kubeConfig and kill ttyd |
| 929 | func (c *Controller) ResetWorker(_ context.Context, cloudshell *cloudshellv1alpha1.CloudShell) error { |
| 930 | return execCommand(cloudshell, []string{resetScriptPath}, c.config) |
| 931 | } |
| 932 | |
| 933 | // removeCloudshell remove the cloudshell, at the same time, update addition resource. |
| 934 | // i.g: ingress or vitualService. if all of cloudshells was removed, it will delete the |
no test coverage detected