Documentation
¶
Index ¶
- Constants
- func DashboardApiKey() (string, error)
- func DashboardRunKey() (string, error)
- func RemoteNewRun(run Run) error
- func RemoteSetFile(file File) error
- func RemoteSetJobs(jobGroups []JobGroup) error
- func RemoteSetKeys(dashVals Dashboard) error
- type Arg
- type CronTime
- type CronTimePiece
- type CronTimeSection
- type Dashboard
- type File
- type Flags
- type Job
- type JobGroup
- type ManualQueue
- type ManualQueueItem
- type ManualToRun
- type OutputLine
- type Run
- type Trigger
Constants ¶
View Source
const ( TempKoitabPath = "/tmp/koitab" KoitabPath = "/var/lib/koi/koitab" ApiKeyPath = "/var/lib/koi/apikey" RunKeyPath = "/var/lib/koi/runkey" UserPath = "/var/lib/koi/user" ApiBase = "https://api.koi.org" )
Variables ¶
This section is empty.
Functions ¶
func DashboardApiKey ¶ added in v1.0.0
func DashboardRunKey ¶ added in v1.0.0
func RemoteNewRun ¶
func RemoteSetFile ¶ added in v1.3.0
func RemoteSetJobs ¶
func RemoteSetKeys ¶ added in v1.1.0
Types ¶
type CronTime ¶
type CronTime [5]CronTimeSection
type CronTimePiece ¶
type CronTimeSection ¶
type CronTimeSection []CronTimePiece
type Dashboard ¶
type Dashboard struct { DashboardID string Salt string ApiKey string JobGroups []JobGroup ManualQueue ManualQueue }
func RemoteGetDashboard ¶ added in v1.4.0
func RemoteNewDashboard ¶
type File ¶ added in v1.3.0
func RemoteGetFile ¶ added in v1.3.0
func RemoteGetFileMetadata ¶ added in v1.3.0
type Job ¶
type JobGroup ¶
func ParseLines ¶
type ManualQueue ¶
type ManualQueue []ManualQueueItem
func RemoteGetManualQueue ¶
func RemoteGetManualQueue() (ManualQueue, error)
type ManualQueueItem ¶ added in v1.0.0
type ManualQueueItem [2]string
type ManualToRun ¶
type OutputLine ¶
Click to show internal directories.
Click to hide internal directories.