Discover Packages
github.com/cheerego/uci
frame
flow
package
Version:
v0.0.0-...-feeaf7e
Opens a new window with list of versions in this module.
Published: Aug 19, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Defaults struct {
Run Run `yaml:"run,omitempty" json:"run,omitempty"`
}
type Docker struct {
Image string `yaml:"image,omitempty" json:"image,omitempty"`
Username string `yaml:"username,omitempty" json:"username,omitempty"`
Password string `yaml:"password,omitempty" json:"password,omitempty"`
}
type Flow struct {
Name string `yaml:"name,omitempty" json:"name,omitempty"`
On []string `yaml:"on,omitempty" json:"on,omitempty"`
Jobs []*Job `yaml:"jobs,omitempty" json:"jobs,omitempty"`
}
type Job struct {
Name string `yaml:"name,omitempty" json:"name,omitempty"`
Docker Docker `yaml:"docker,omitempty" json:"docker,omitempty"`
If string `yaml:"if,omitempty" json:"if,omitempty"`
Defaults Defaults `yaml:"defaults,omitempty" json:"defaults,omitempty"`
Steps []*Step `yaml:"steps,omitempty" json:"steps,omitempty"`
}
type Result struct {
Status status .Status `json:"status" yaml:"status"`
Duration int64 `json:"duration" yaml:"duration"`
StartAt *time .Time `json:"startAt" yaml:"startAt"`
CloseAt *time .Time `json:"closeAt" yaml:"closeAt"`
}
type Run struct {
Shell string `yaml:"shell,omitempty" json:"shell,omitempty"`
WorkingDirectory string `yaml:"working-directory,omitempty" json:"workingDirectory,omitempty"`
}
type Step struct {
Uses *string `yaml:"uses,omitempty" json:"uses"`
With *map[string ]string `yaml:"with,omitempty" json:"with"`
Run *string `yaml:"run,omitempty" json:"run"`
Result Result `yaml:"result" json:"result"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.