Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DiscoverServices ¶
func DiscoverServices()
DiscoverServices walks into the project path and looks in every subdirectory for the service.yml file. For every service it registers it after trying to import the package using Go's build.Import package
Types ¶
type Service ¶
type Service struct {
Name string
Description string
Path string
Color string
// Path
OrchestraPath string
LogFilePath string
PidFilePath string
// Process, Service and Package information
FileInfo os.FileInfo
PackageInfo *build.Package
Process *os.Process
}
Service encapsulates all the information needed for a service
Click to show internal directories.
Click to hide internal directories.