Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AtlantisConfig ¶
type AtlantisConfig struct { // Version of the digger_config syntax Version int `json:"version"` // If Atlantis should merge after finishing `atlantis apply` AutoMerge bool `json:"automerge"` // If Atlantis should allow plans to occur in parallel ParallelPlan bool `json:"parallel_plan"` // If Atlantis should allow applies to occur in parallel ParallelApply bool `json:"parallel_apply"` // The project settings Projects []AtlantisProject `json:"projects,omitempty"` // Workflows, which are not managed by this library other than // the fact that this library preserves any existing workflows Workflows interface{} `json:"workflows,omitempty"` }
Represents an entire digger_config file
func Parse ¶
func Parse(gitRoot string, projectHclFiles []string, createHclProjectExternalChilds bool, autoMerge bool, parallel bool, filterPath string, createHclProjectChilds bool, ignoreParentTerragrunt bool, ignoreDependencyBlocks bool, cascadeDependencies bool, defaultWorkflow string, defaultApplyRequirements []string, autoPlan bool, defaultTerraformVersion string, createProjectName bool, createWorkspace bool, preserveProjects bool, useProjectMarkers bool, executionOrderGroups bool) (*AtlantisConfig, map[string][]string, error)
type AtlantisProject ¶
type AtlantisProject struct { // The directory with the terragrunt.hcl file Dir string `json:"dir"` // Define workflow name Workflow string `json:"workflow,omitempty"` // Define workspace name Workspace string `json:"workspace,omitempty"` // Define project name Name string `json:"name,omitempty"` // Autoplan settings for which plans affect other plans Autoplan AutoplanConfig `json:"autoplan"` // The terraform version to use for this project TerraformVersion string `json:"terraform_version,omitempty"` // We only want to output `apply_requirements` if explicitly stated in a local value ApplyRequirements *[]string `json:"apply_requirements,omitempty"` // Atlantis use ExecutionOrderGroup for sort projects before applying/planning ExecutionOrderGroup int `json:"execution_order_group,omitempty"` }
Represents an Atlantis Project directory
type AutoplanConfig ¶
type GetDependenciesCache ¶
type GetDependenciesCache struct {
// contains filtered or unexported fields
}
type ResolvedLocals ¶
type ResolvedLocals struct { // The Atlantis workflow to use for some project AtlantisWorkflow string // Apply requirements to override the global `--apply-requirements` flag ApplyRequirements []string // Extra dependencies that can be hardcoded in digger_config ExtraAtlantisDependencies []string // If set, a single module will have autoplan turned to this setting AutoPlan *bool // If set to true, the module will not be included in the output Skip *bool // Terraform version to use just for this project TerraformVersion string // contains filtered or unexported fields }
ResolvedLocals are the parsed result of local values this module cares about
Click to show internal directories.
Click to hide internal directories.