Documentation ¶
Index ¶
- Variables
- func ExpandPath(path string) (string, error)
- func FileExists(f string) bool
- func IsYaml(f string) bool
- func LoadYaml(f string) error
- func RegisterService(s *Service) error
- func Services() map[string]*Service
- func StringListContains(list []string, s string) bool
- type Service
- type ServiceKind
Constants ¶
This section is empty.
Variables ¶
View Source
var (
TaskParams []string
)
Functions ¶
func ExpandPath ¶
func FileExists ¶
func StringListContains ¶
Types ¶
type Service ¶
type Service struct { Kind ServiceKind Name string Dir string Run string // simple run Cmd string // build Bin string // built bin to run Dep []string Watch bool }
func FindServices ¶
func (*Service) SetKind ¶
func (s *Service) SetKind(kind ServiceKind) error
enfore specific attributes
Click to show internal directories.
Click to hide internal directories.