mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-05-14 05:06:38 +00:00
* Remove `logger` module * Remove `shared` module * Move `cli` folder contents into project root * Fix linter * Change the module name from `github.com/kubeshark/kubeshark/cli` to `github.com/kubeshark/kubeshark` * Set the default `Makefile` rule to `build` * Add `lint` rule * Fix the linter errors
15 lines
310 B
Go
15 lines
310 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.KubesharkResourcesNamespace)
|
|
}
|