You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helm/pkg/dm/uninstall.go

15 lines
357 B

package dm
import (
"github.com/kubernetes/deployment-manager/pkg/kubectl"
)
// Uninstall uses kubectl to uninstall the base DM.
//
// Returns the string output received from the operation, and an error if the
// command failed.
func Uninstall(runner kubectl.Runner) (string, error) {
o, err := runner.Delete("dm", "Namespace")
return string(o), err
}