mirror of https://github.com/helm/helm
Merge pull request #8 from adamreese/dm-uninstall
feat(dm-delete): add dm-delete commandpull/291/head
commit
22c6b9b21c
@ -0,0 +1,14 @@
|
|||||||
|
package dm
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/deis/helm-dm/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", "dm")
|
||||||
|
return string(o), err
|
||||||
|
}
|
Loading…
Reference in new issue