Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultFileNames = []string{"taskctl.yaml", "tasks.yaml"}
DefaultFileNames is default names for tasks' files
View Source
var ErrConfigNotFound = errors.New("config file not found")
ErrConfigNotFound occurs when requested config file does not exists
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Import []string
Contexts map[string]*runner.ExecutionContext
Pipelines map[string]*scheduler.ExecutionGraph
Tasks map[string]*task.Task
Watchers map[string]*watch.Watcher
Debug, DryRun, Summary bool
Output string
Variables variables.Container
}
Config is a taskctl internal config structure
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
Loader reads and parses config files
func NewConfigLoader ¶
NewConfigLoader is Loader constructor
func (*Loader) LoadGlobalConfig ¶
LoadGlobalConfig load global config file - ~/.taskctl/config.yaml
Click to show internal directories.
Click to hide internal directories.