github.com/jlmeeker/kismatic@v1.10.1-0.20180612190640-57f9005a1f1a/pkg/inspector/rule/docker.go (about) 1 package rule 2 3 import ( 4 "fmt" 5 ) 6 7 // DockerInPath is a rule that ensures the docker executable is in 8 // the system's path 9 type DockerInPath struct { 10 Meta 11 } 12 13 func (d DockerInPath) Name() string { 14 return fmt.Sprintf("Docker Executable In Path") 15 } 16 17 func (d DockerInPath) IsRemoteRule() bool { return false } 18 19 func (d DockerInPath) Validate() []error { 20 return nil 21 }