package
Version:
v1.21.0
Opens a new window with list of versions in this module.
Published: Aug 13, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
LIVELOG = 5000
TIME = 12
UNIT = "hour"
)
type File struct {
Content string `json:"content"`
Gzip bool `json:"gzip"`
}
type Metadata struct {
Name string `json:"name"`
}
type Output struct {
Pos int64 `json:"pos"`
Time int64 `json:"time"`
Message string `json:"message"`
}
type Proto struct {
ApiVersion string `json:"apiVersion"`
Kind string `json:"kind"`
Metadata Metadata `json:"metadata"`
Spec Spec `json:"spec"`
}
type Result struct {
Output Output `json:"output"`
Error string `json:"error"`
}
type Spec struct {
Tasks []Task `json:"tasks"`
}
type Task struct {
Name string `json:"name"`
File File `json:"file"`
Commands []string `json:"commands"`
Depends []string `json:"depends"`
Timeout Timeout `json:"timeout"`
}
type Timeout struct {
Time int64 `json:"time"`
Unit string `json:"unit"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.