mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-24 07:14:15 +00:00
15 lines
298 B
Go
15 lines
298 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/kubeshark/kubeshark/config"
|
|
)
|
|
|
|
func performCleanCommand() {
|
|
kubernetesProvider, err := getKubernetesProviderForCli()
|
|
if err != nil {
|
|
return
|
|
}
|
|
|
|
finishSelfExecution(kubernetesProvider, config.Config.IsNsRestrictedMode(), config.Config.SelfNamespace, false)
|
|
}
|