package
Version:
v0.1.6
Opens a new window with list of versions in this module.
Published: Jan 17, 2025
License: MIT
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
¶
type Env struct {
Remote EnvRemote `yaml:"remote,omitempty"`
Vars map[string]EnvVar `yaml:"vars,omitempty"`
}
type EnvRemote struct {
Type string `yaml:"type"`
Key string `yaml:"key"`
}
type EnvVar struct {
Source string `yaml:"source,omitempty"`
Key string `yaml:"key,omitempty"`
Value string `yaml:"value,omitempty"`
}
type Job struct {
Name string `yaml:"name"`
WorkingDir string `yaml:"working_dir,omitempty"`
Command string `yaml:"command"`
Args []string `yaml:"args,omitempty"`
Env Env `yaml:"env,omitempty"`
}
type JobConfig struct {
Name string `yaml:"name"`
WorkingDir string `yaml:"working_dir,omitempty"`
Command string `yaml:"command"`
Args []string `yaml:"args,omitempty"`
Env map[string]string
}
type Jobs struct {
DefaultStage string `yaml:"default_stage"`
Jobs map[string][]Job `yaml:"jobs"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.