mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-05-08 10:17:49 +00:00
15 lines
301 B
Go
15 lines
301 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/kubeshark/kubeshark/config"
|
|
)
|
|
|
|
func performCleanCommand() {
|
|
kubernetesProvider, err := getKubernetesProviderForCli()
|
|
if err != nil {
|
|
return
|
|
}
|
|
|
|
finishKubesharkExecution(kubernetesProvider, config.Config.IsNsRestrictedMode(), config.Config.ResourcesNamespace)
|
|
}
|