Documentation
¶
Overview ¶
Package cmd implements the eos CLI commands for registering, starting, stopping, and monitoring background services on a VPS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrServiceNonExistent = errors.New("service non existent")
Functions ¶
Types ¶
type DaemonController ¶
type DaemonController interface {
Start(ctx context.Context, detach bool, logToFileAndConsole bool, verbose bool) error
Stop(ctx context.Context, cmd *cobra.Command, verbose bool) (bool, error)
Remove() error
Info(cmd *cobra.Command)
Logs(cmd *cobra.Command, lines int, follow bool)
LogsHint() string
}
type ErrorResult ¶
type ErrorResult struct {
Error error
Service types.ServiceInstance
}
type ErrorServices ¶
type ErrorServices map[string]ErrorResult
type ParsedService ¶
type ParsedService struct {
YamlFile string
Config types.ServiceConfig
}
type ServiceStartResult ¶
type StoppedServices ¶
type StoppedServices map[string]manager.StopServiceResult
type UpdateResult ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.