Documentation ¶
Index ¶
Constants ¶
View Source
const AtlantisYAMLFilename = "atlantis.yaml"
AtlantisYAMLFilename is the name of the config file for each repo.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParserValidator ¶
type ParserValidator struct{}
func (*ParserValidator) HasRepoCfg ¶ added in v0.7.0
func (p *ParserValidator) HasRepoCfg(repoDir string) (bool, error)
func (*ParserValidator) ParseGlobalCfg ¶ added in v0.7.0
func (*ParserValidator) ParseRepoCfg ¶ added in v0.7.0
func (p *ParserValidator) ParseRepoCfg(repoDir string, globalCfg valid.GlobalCfg, repoID string) (valid.RepoCfg, error)
ParseRepoCfg returns the parsed and validated atlantis.yaml config for repoDir. If there was no config file, then this can be detected by checking the type of error: os.IsNotExist(error) but it's instead preferred to check with HasRepoCfg.
Directories ¶
Path | Synopsis |
---|---|
Package raw contains the golang representations of the YAML elements supported in atlantis.yaml.
|
Package raw contains the golang representations of the YAML elements supported in atlantis.yaml. |
Package valid contains the structs representing the atlantis.yaml config after it's been parsed and validated.
|
Package valid contains the structs representing the atlantis.yaml config after it's been parsed and validated. |
Click to show internal directories.
Click to hide internal directories.