Documentation ¶
Index ¶
Constants ¶
View Source
const ( TaskTypeExec = "exec" TaskTypeBuiltIn = "builtin" )
Variables ¶
View Source
var ValidTaskTypes = []string{ TaskTypeExec, TaskTypeBuiltIn, }
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Tasks []Task `json:"tasks"` User User `json:"user"` PassBin string `json:"passBin"` Storage map[string]Storage `json:"storage"` Ping Ping `json:"ping"` Notify Notify `json:"notify"` Mail Mail `json:"mail"` Filters []string `json:"filters"` }
func (Config) GetRunnableTasks ¶
type Ping ¶
func (Ping) GetEndpoint ¶
type Task ¶
type Task struct { Slug string `json:"slug"` Name string `json:"name"` Type string `json:"type"` Scheduled bool `json:"scheduled"` Post bool `json:"post"` EntryPoint string `json:"entrypoint"` }
func (Task) GetBuiltInAction ¶
func (Task) GetDisplayEnabled ¶
func (Task) GetLongString ¶
func (Task) GetShortString ¶
Click to show internal directories.
Click to hide internal directories.