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) HasConfigFile ¶
func (p *ParserValidator) HasConfigFile(repoDir string) (bool, error)
func (*ParserValidator) ReadConfig ¶
func (p *ParserValidator) ReadConfig(repoDir string) (valid.Config, error)
ReadConfig 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 HasConfigFile.
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.