package
Version:
v0.0.0-...-d1a390d
Opens a new window with list of versions in this module.
Published: Mar 3, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Agent struct {
Name string `json:"Name" validate:"required"`
Host string `json:"IP" validate:"required"`
Accepts []string `json:"Accepts" validate:"required,dive,required"`
}
type Task struct {
Name string `json:"Name" gorm:"primaryKey"`
Params []string `json:"Params"`
}
type TaskDefinition struct {
}
type TaskRun struct {
ID string `json:"ID" gorm:"primaryKey"`
TaskName string `json:"TaskName"`
Params []string `json:"Params"`
StartAt int32 `json:"StartAt"`
FinishedAt int32 `json:"FinishedAt"`
Status string `json:"Status"`
}
type Trigger struct {
Name string `json:"Name" gorm:"primaryKey"`
Params []string `json:"Params"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.