mirror of https://github.com/helm/helm
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.
19 lines
380 B
19 lines
380 B
package main
|
|
|
|
import (
|
|
"github.com/deis/helm-dm/dm"
|
|
"github.com/deis/helm-dm/kubectl"
|
|
)
|
|
|
|
func doctor() error {
|
|
var runner kubectl.Runner
|
|
runner = &kubectl.RealRunner{}
|
|
if dm.IsInstalled(runner) {
|
|
format.Success("You have everything you need. Go forth my friend!")
|
|
} else {
|
|
format.Warning("Looks like you don't have DM installed.\nRun: `helm install`")
|
|
}
|
|
|
|
return nil
|
|
}
|