Documentation ¶
Overview ¶
Package valid contains the structs representing the atlantis.yaml config after it's been parsed and validated.
Index ¶
- type Autoplan
- type Config
- func (c Config) FindProjectByName(name string) *Project
- func (c Config) FindProjectsByDir(dir string) []Project
- func (c Config) FindProjectsByDirWorkspace(dir string, workspace string) []Project
- func (c Config) GetApplyStage(workflowName string) *Stage
- func (c Config) GetPlanStage(workflowName string) *Stage
- type Project
- type Stage
- type Step
- type Workflow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Version is the version of the atlantis YAML file. Will always be equal // to 2. Version int Projects []Project Workflows map[string]Workflow Automerge bool }
Config is the atlantis.yaml config after it's been parsed and validated.
func (Config) FindProjectByName ¶
func (Config) FindProjectsByDir ¶ added in v0.4.13
FindProjectsByDir returns all projects that are in dir.
func (Config) FindProjectsByDirWorkspace ¶
func (Config) GetApplyStage ¶
func (Config) GetPlanStage ¶
Click to show internal directories.
Click to hide internal directories.