Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { Stop() error Start(bin string, workDir string, params string) error Retry(bin string, workDir string, reqId string) error GetStatus() (*models.Status, error) GetLastStatus() (*models.Status, error) GetStatusByRequestId(requestId string) (*models.Status, error) GetStatusHist(n int) ([]*models.StatusFile, error) UpdateStatus(*models.Status) error }
func New ¶
func New(cfg *config.Config) Controller
Click to show internal directories.
Click to hide internal directories.