Documentation ¶
Index ¶
- type Affected
- type ArgsAndFlagsInfo
- type Atlantis
- type AtlantisConfigOutput
- type AtlantisProjectAutoplanConfig
- type AtlantisProjectConfig
- type AtlantisRepoConfig
- type AtmosSchema
- type AtmosVendorConfig
- type AtmosVendorMetadata
- type AtmosVendorSource
- type AtmosVendorSpec
- type AwsEksUpdateKubeconfigContext
- type BaseComponentConfig
- type CliConfiguration
- type Command
- type CommandArgument
- type CommandComponentConfig
- type CommandEnv
- type CommandFlag
- type Components
- type ConfigAndStacksInfo
- type ConfigSources
- type ConfigSourcesItem
- type ConfigSourcesStackDependencies
- type ConfigSourcesStackDependency
- type Context
- type Cue
- type Dependent
- type DependsOn
- type DescribeWorkflowsItem
- type Helmfile
- type Integrations
- type JsonSchema
- type Logs
- type Opa
- type Schemas
- type Settings
- type SettingsSpacelift
- type StackImport
- type Stacks
- type Terraform
- type Validation
- type ValidationItem
- type VendorComponentConfig
- type VendorComponentMetadata
- type VendorComponentMixins
- type VendorComponentSource
- type VendorComponentSpec
- type WorkflowConfig
- type WorkflowDefinition
- type WorkflowManifest
- type WorkflowStep
- type Workflows
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Affected ¶
type Affected struct { Component string `yaml:"component" json:"component" mapstructure:"component"` ComponentType string `yaml:"component_type" json:"component_type" mapstructure:"component_type"` ComponentPath string `yaml:"component_path" json:"component_path" mapstructure:"component_path"` Namespace string `yaml:"namespace,omitempty" json:"namespace,omitempty" mapstructure:"namespace"` Tenant string `yaml:"tenant,omitempty" json:"tenant,omitempty" mapstructure:"tenant"` Environment string `yaml:"environment,omitempty" json:"environment,omitempty" mapstructure:"environment"` Stage string `yaml:"stage,omitempty" json:"stage,omitempty" mapstructure:"stage"` Stack string `yaml:"stack" json:"stack" mapstructure:"stack"` StackSlug string `yaml:"stack_slug" json:"stack_slug" mapstructure:"stack_slug"` SpaceliftStack string `yaml:"spacelift_stack,omitempty" json:"spacelift_stack,omitempty" mapstructure:"spacelift_stack"` AtlantisProject string `yaml:"atlantis_project,omitempty" json:"atlantis_project,omitempty" mapstructure:"atlantis_project"` Affected string `yaml:"affected" json:"affected" mapstructure:"affected"` File string `yaml:"file,omitempty" json:"file,omitempty" mapstructure:"file"` Folder string `yaml:"folder,omitempty" json:"folder,omitempty" mapstructure:"folder"` }
type ArgsAndFlagsInfo ¶
type ArgsAndFlagsInfo struct { AdditionalArgsAndFlags []string SubCommand string SubCommand2 string ComponentFromArg string GlobalOptions []string TerraformDir string HelmfileDir string ConfigDir string StacksDir string WorkflowsDir string BasePath string DeployRunInit string InitRunReconfigure string AutoGenerateBackendFile string UseTerraformPlan bool PlanFile string DryRun bool SkipInit bool NeedHelp bool JsonSchemaDir string OpaDir string CueDir string AtmosManifestJsonSchema string RedirectStdErr string LogsLevel string LogsFile string }
type Atlantis ¶
type Atlantis struct { Path string `yaml:"path,omitempty" json:"path,omitempty" mapstructure:"path"` ConfigTemplates map[string]AtlantisRepoConfig `yaml:"config_templates,omitempty" json:"config_templates,omitempty" mapstructure:"config_templates"` ProjectTemplates map[string]AtlantisProjectConfig `yaml:"project_templates,omitempty" json:"project_templates,omitempty" mapstructure:"project_templates"` WorkflowTemplates map[string]any `yaml:"workflow_templates,omitempty" json:"workflow_templates,omitempty" mapstructure:"workflow_templates"` }
type AtlantisConfigOutput ¶
type AtlantisConfigOutput struct { Version int `yaml:"version" json:"version" mapstructure:"version"` Automerge bool `yaml:"automerge" json:"automerge" mapstructure:"automerge"` DeleteSourceBranchOnMerge bool `yaml:"delete_source_branch_on_merge" json:"delete_source_branch_on_merge" mapstructure:"delete_source_branch_on_merge"` ParallelPlan bool `yaml:"parallel_plan" json:"parallel_plan" mapstructure:"parallel_plan"` ParallelApply bool `yaml:"parallel_apply" json:"parallel_apply" mapstructure:"parallel_apply"` AllowedRegexpPrefixes []string `yaml:"allowed_regexp_prefixes" json:"allowed_regexp_prefixes" mapstructure:"allowed_regexp_prefixes"` Projects []AtlantisProjectConfig `yaml:"projects" json:"projects" mapstructure:"projects"` Workflows map[string]any `yaml:"workflows,omitempty" json:"workflows,omitempty" mapstructure:"workflows"` }
type AtlantisProjectConfig ¶
type AtlantisProjectConfig struct { Name string `yaml:"name" json:"name" mapstructure:"name"` Workspace string `yaml:"workspace" json:"workspace" mapstructure:"workspace"` Workflow string `yaml:"workflow,omitempty" json:"workflow,omitempty" mapstructure:"workflow"` Dir string `yaml:"dir" json:"dir" mapstructure:"dir"` TerraformVersion string `yaml:"terraform_version" json:"terraform_version" mapstructure:"terraform_version"` DeleteSourceBranchOnMerge bool `yaml:"delete_source_branch_on_merge" json:"delete_source_branch_on_merge" mapstructure:"delete_source_branch_on_merge"` Autoplan AtlantisProjectAutoplanConfig `yaml:"autoplan" json:"autoplan" mapstructure:"autoplan"` ApplyRequirements []string `yaml:"apply_requirements" json:"apply_requirements" mapstructure:"apply_requirements"` }
type AtlantisRepoConfig ¶
type AtlantisRepoConfig struct { Version int `yaml:"version" json:"version" mapstructure:"version"` Automerge bool `yaml:"automerge" json:"automerge" mapstructure:"automerge"` DeleteSourceBranchOnMerge bool `yaml:"delete_source_branch_on_merge" json:"delete_source_branch_on_merge" mapstructure:"delete_source_branch_on_merge"` ParallelPlan bool `yaml:"parallel_plan" json:"parallel_plan" mapstructure:"parallel_plan"` ParallelApply bool `yaml:"parallel_apply" json:"parallel_apply" mapstructure:"parallel_apply"` AllowedRegexpPrefixes []string `yaml:"allowed_regexp_prefixes" json:"allowed_regexp_prefixes" mapstructure:"allowed_regexp_prefixes"` }
type AtmosSchema ¶ added in v1.51.0
type AtmosSchema struct {
Manifest string `yaml:"manifest,omitempty" json:"manifest,omitempty" mapstructure:"manifest"`
}
type AtmosVendorConfig ¶ added in v1.47.0
type AtmosVendorConfig struct { ApiVersion string `yaml:"apiVersion" json:"apiVersion" mapstructure:"apiVersion"` Kind string `yaml:"kind" json:"kind" mapstructure:"kind"` Metadata AtmosVendorMetadata Spec AtmosVendorSpec `yaml:"spec" json:"spec" mapstructure:"spec"` }
type AtmosVendorMetadata ¶ added in v1.47.0
type AtmosVendorSource ¶ added in v1.47.0
type AtmosVendorSource struct { Component string `yaml:"component" json:"component" mapstructure:"component"` Source string `yaml:"source" json:"source" mapstructure:"source"` Version string `yaml:"version" json:"version" mapstructure:"version"` File string `yaml:"file" json:"file" mapstructure:"file"` Targets []string `yaml:"targets" json:"targets" mapstructure:"targets"` IncludedPaths []string `yaml:"included_paths,omitempty" json:"included_paths,omitempty" mapstructure:"included_paths"` ExcludedPaths []string `yaml:"excluded_paths,omitempty" json:"excluded_paths,omitempty" mapstructure:"excluded_paths"` Tags []string `yaml:"tags" json:"tags" mapstructure:"tags"` }
type AtmosVendorSpec ¶ added in v1.47.0
type AtmosVendorSpec struct { Imports []string `yaml:"imports,omitempty" json:"imports,omitempty" mapstructure:"imports"` Sources []AtmosVendorSource `yaml:"sources" json:"sources" mapstructure:"sources"` }
type BaseComponentConfig ¶
type BaseComponentConfig struct { BaseComponentVars map[any]any BaseComponentSettings map[any]any BaseComponentEnv map[any]any FinalBaseComponentName string BaseComponentCommand string BaseComponentBackendType string BaseComponentBackendSection map[any]any BaseComponentRemoteStateBackendType string BaseComponentRemoteStateBackendSection map[any]any ComponentInheritanceChain []string }
type CliConfiguration ¶
type CliConfiguration struct { BasePath string `yaml:"base_path" json:"base_path" mapstructure:"base_path"` Components Components `yaml:"components" json:"components" mapstructure:"components"` Stacks Stacks `yaml:"stacks" json:"stacks" mapstructure:"stacks"` Workflows Workflows `yaml:"workflows,omitempty" json:"workflows,omitempty" mapstructure:"workflows"` Logs Logs `yaml:"logs,omitempty" json:"logs,omitempty" mapstructure:"logs"` Commands []Command `yaml:"commands,omitempty" json:"commands,omitempty" mapstructure:"commands"` Integrations Integrations `yaml:"integrations,omitempty" json:"integrations,omitempty" mapstructure:"integrations"` Schemas Schemas `yaml:"schemas,omitempty" json:"schemas,omitempty" mapstructure:"schemas"` Initialized bool `yaml:"initialized" json:"initialized" mapstructure:"initialized"` StacksBaseAbsolutePath string `yaml:"stacksBaseAbsolutePath,omitempty" json:"stacksBaseAbsolutePath,omitempty" mapstructure:"stacksBaseAbsolutePath"` IncludeStackAbsolutePaths []string `` /* 126-byte string literal not displayed */ ExcludeStackAbsolutePaths []string `` /* 126-byte string literal not displayed */ TerraformDirAbsolutePath string `yaml:"terraformDirAbsolutePath,omitempty" json:"terraformDirAbsolutePath,omitempty" mapstructure:"terraformDirAbsolutePath"` HelmfileDirAbsolutePath string `yaml:"helmfileDirAbsolutePath,omitempty" json:"helmfileDirAbsolutePath,omitempty" mapstructure:"helmfileDirAbsolutePath"` StackConfigFilesRelativePaths []string `` /* 138-byte string literal not displayed */ StackConfigFilesAbsolutePaths []string `` /* 138-byte string literal not displayed */ StackType string `yaml:"stackType,omitempty" json:"StackType,omitempty" mapstructure:"stackType"` }
CliConfiguration structure represents schema for `atmos.yaml` CLI config
type Command ¶
type Command struct { Name string `yaml:"name" json:"name" mapstructure:"name"` Description string `yaml:"description" json:"description" mapstructure:"description"` Env []CommandEnv `yaml:"env" json:"env" mapstructure:"env"` Arguments []CommandArgument `yaml:"arguments" json:"arguments" mapstructure:"arguments"` Flags []CommandFlag `yaml:"flags" json:"flags" mapstructure:"flags"` ComponentConfig CommandComponentConfig `yaml:"component_config" json:"component_config" mapstructure:"component_config"` Steps []string `yaml:"steps" json:"steps" mapstructure:"steps"` Commands []Command `yaml:"commands" json:"commands" mapstructure:"commands"` Verbose bool `yaml:"verbose" json:"verbose" mapstructure:"verbose"` }
type CommandArgument ¶
type CommandComponentConfig ¶
type CommandEnv ¶
type CommandFlag ¶
type CommandFlag struct { Name string `yaml:"name" json:"name" mapstructure:"name"` Shorthand string `yaml:"shorthand" json:"shorthand" mapstructure:"shorthand"` Type string `yaml:"type" json:"type" mapstructure:"type"` Description string `yaml:"description" json:"description" mapstructure:"description"` Usage string `yaml:"usage" json:"usage" mapstructure:"usage"` Required bool `yaml:"required" json:"required" mapstructure:"required"` }
type Components ¶
type ConfigAndStacksInfo ¶
type ConfigAndStacksInfo struct { StackFromArg string Stack string StackFile string ComponentType string ComponentFromArg string Component string ComponentFolderPrefix string ComponentFolderPrefixReplaced string BaseComponentPath string BaseComponent string FinalComponent string Command string SubCommand string SubCommand2 string ComponentSection map[string]any ComponentVarsSection map[any]any ComponentSettingsSection map[any]any ComponentOverridesSection map[any]any ComponentEnvSection map[any]any ComponentEnvList []string ComponentBackendSection map[any]any ComponentBackendType string AdditionalArgsAndFlags []string GlobalOptions []string BasePath string TerraformDir string HelmfileDir string ConfigDir string StacksDir string WorkflowsDir string Context Context ContextPrefix string DeployRunInit string InitRunReconfigure string AutoGenerateBackendFile string UseTerraformPlan bool PlanFile string DryRun bool SkipInit bool ComponentInheritanceChain []string ComponentImportsSection []string NeedHelp bool ComponentIsAbstract bool ComponentMetadataSection map[any]any TerraformWorkspace string JsonSchemaDir string OpaDir string CueDir string AtmosManifestJsonSchema string AtmosCliConfigPath string AtmosBasePath string RedirectStdErr string LogsLevel string LogsFile string }
type ConfigSources ¶ added in v1.42.0
type ConfigSources map[string]map[string]ConfigSourcesItem
type ConfigSourcesItem ¶ added in v1.42.0
type ConfigSourcesItem struct { FinalValue any `yaml:"final_value" json:"final_value" mapstructure:"final_value"` Name string `yaml:"name" json:"name" mapstructure:"name"` StackDependencies ConfigSourcesStackDependencies `yaml:"stack_dependencies" json:"stack_dependencies" mapstructure:"stack_dependencies"` }
type ConfigSourcesStackDependencies ¶ added in v1.42.0
type ConfigSourcesStackDependencies []ConfigSourcesStackDependency
type ConfigSourcesStackDependency ¶ added in v1.42.0
type ConfigSourcesStackDependency struct { StackFile string `yaml:"stack_file" json:"stack_file" mapstructure:"stack_file"` StackFileSection string `yaml:"stack_file_section" json:"stack_file_section" mapstructure:"stack_file_section"` DependencyType string `yaml:"dependency_type" json:"dependency_type" mapstructure:"dependency_type"` VariableValue any `yaml:"variable_value" json:"variable_value" mapstructure:"variable_value"` }
ConfigSourcesStackDependency defines schema for sources of config sections
type Context ¶
type Context struct { Namespace string `yaml:"namespace" json:"namespace" mapstructure:"namespace"` Tenant string `yaml:"tenant" json:"tenant" mapstructure:"tenant"` Environment string `yaml:"environment" json:"environment" mapstructure:"environment"` Stage string `yaml:"stage" json:"stage" mapstructure:"stage"` Region string `yaml:"region" json:"region" mapstructure:"region"` Component string `yaml:"component" json:"component" mapstructure:"component"` BaseComponent string `yaml:"base_component" json:"base_component" mapstructure:"base_component"` ComponentPath string `yaml:"component_path" json:"component_path" mapstructure:"component_path"` Workspace string `yaml:"workspace" json:"workspace" mapstructure:"workspace"` Attributes []any `yaml:"attributes" json:"attributes" mapstructure:"attributes"` File string `yaml:"file" json:"file" mapstructure:"file"` Folder string `yaml:"folder" json:"folder" mapstructure:"folder"` }
type Cue ¶
type Cue struct {
BasePath string `yaml:"base_path,omitempty" json:"base_path,omitempty" mapstructure:"base_path"`
}
type Dependent ¶ added in v1.33.2
type Dependent struct { Component string `yaml:"component" json:"component" mapstructure:"component"` ComponentType string `yaml:"component_type" json:"component_type" mapstructure:"component_type"` ComponentPath string `yaml:"component_path" json:"component_path" mapstructure:"component_path"` Namespace string `yaml:"namespace,omitempty" json:"namespace,omitempty" mapstructure:"namespace"` Tenant string `yaml:"tenant,omitempty" json:"tenant,omitempty" mapstructure:"tenant"` Environment string `yaml:"environment,omitempty" json:"environment,omitempty" mapstructure:"environment"` Stage string `yaml:"stage,omitempty" json:"stage,omitempty" mapstructure:"stage"` Stack string `yaml:"stack" json:"stack" mapstructure:"stack"` StackSlug string `yaml:"stack_slug" json:"stack_slug" mapstructure:"stack_slug"` SpaceliftStack string `yaml:"spacelift_stack,omitempty" json:"spacelift_stack,omitempty" mapstructure:"spacelift_stack"` AtlantisProject string `yaml:"atlantis_project,omitempty" json:"atlantis_project,omitempty" mapstructure:"atlantis_project"` }
type DescribeWorkflowsItem ¶ added in v1.55.0
type Helmfile ¶
type Helmfile struct { BasePath string `yaml:"base_path" json:"base_path" mapstructure:"base_path"` UseEKS bool `yaml:"use_eks" json:"use_eks" mapstructure:"use_eks"` KubeconfigPath string `yaml:"kubeconfig_path" json:"kubeconfig_path" mapstructure:"kubeconfig_path"` HelmAwsProfilePattern string `yaml:"helm_aws_profile_pattern" json:"helm_aws_profile_pattern" mapstructure:"helm_aws_profile_pattern"` ClusterNamePattern string `yaml:"cluster_name_pattern" json:"cluster_name_pattern" mapstructure:"cluster_name_pattern"` }
type Integrations ¶
type JsonSchema ¶
type JsonSchema struct {
BasePath string `yaml:"base_path,omitempty" json:"base_path,omitempty" mapstructure:"base_path"`
}
type Opa ¶
type Opa struct {
BasePath string `yaml:"base_path,omitempty" json:"base_path,omitempty" mapstructure:"base_path"`
}
type Schemas ¶
type Schemas struct { JsonSchema JsonSchema `yaml:"jsonschema,omitempty" json:"jsonschema,omitempty" mapstructure:"jsonschema"` Cue Cue `yaml:"cue,omitempty" json:"cue,omitempty" mapstructure:"cue"` Opa Opa `yaml:"opa,omitempty" json:"opa,omitempty" mapstructure:"opa"` Atmos AtmosSchema `yaml:"atmos,omitempty" json:"atmos,omitempty" mapstructure:"atmos"` }
type Settings ¶
type Settings struct { DependsOn DependsOn `yaml:"depends_on" json:"depends_on" mapstructure:"depends_on"` Spacelift SettingsSpacelift `yaml:"spacelift" json:"spacelift" mapstructure:"spacelift"` }
type SettingsSpacelift ¶ added in v1.37.0
type StackImport ¶
type StackImport struct { Path string `yaml:"path" json:"path" mapstructure:"path"` Context map[string]any `yaml:"context" json:"context" mapstructure:"context"` SkipTemplatesProcessing bool `` /* 126-byte string literal not displayed */ IgnoreMissingTemplateValues bool `` /* 141-byte string literal not displayed */ SkipIfMissing bool `yaml:"skip_if_missing,omitempty" json:"skip_if_missing,omitempty" mapstructure:"skip_if_missing"` }
type Stacks ¶
type Stacks struct { BasePath string `yaml:"base_path" json:"base_path" mapstructure:"base_path"` IncludedPaths []string `yaml:"included_paths" json:"included_paths" mapstructure:"included_paths"` ExcludedPaths []string `yaml:"excluded_paths" json:"excluded_paths" mapstructure:"excluded_paths"` NamePattern string `yaml:"name_pattern" json:"name_pattern" mapstructure:"name_pattern"` }
type Terraform ¶
type Terraform struct { BasePath string `yaml:"base_path" json:"base_path" mapstructure:"base_path"` ApplyAutoApprove bool `yaml:"apply_auto_approve" json:"apply_auto_approve" mapstructure:"apply_auto_approve"` DeployRunInit bool `yaml:"deploy_run_init" json:"deploy_run_init" mapstructure:"deploy_run_init"` InitRunReconfigure bool `yaml:"init_run_reconfigure" json:"init_run_reconfigure" mapstructure:"init_run_reconfigure"` AutoGenerateBackendFile bool `yaml:"auto_generate_backend_file" json:"auto_generate_backend_file" mapstructure:"auto_generate_backend_file"` }
type Validation ¶
type Validation map[string]ValidationItem
type ValidationItem ¶
type ValidationItem struct { SchemaType string `yaml:"schema_type" json:"schema_type" mapstructure:"schema_type"` SchemaPath string `yaml:"schema_path" json:"schema_path" mapstructure:"schema_path"` ModulePaths []string `yaml:"module_paths" json:"module_paths" mapstructure:"module_paths"` Description string `yaml:"description" json:"description" mapstructure:"description"` Disabled bool `yaml:"disabled" json:"disabled" mapstructure:"disabled"` Timeout int `yaml:"timeout" json:"timeout" mapstructure:"timeout"` }
type VendorComponentConfig ¶
type VendorComponentConfig struct { ApiVersion string `yaml:"apiVersion" json:"apiVersion" mapstructure:"apiVersion"` Kind string `yaml:"kind" json:"kind" mapstructure:"kind"` Metadata VendorComponentMetadata `yaml:"metadata" json:"metadata" mapstructure:"metadata"` Spec VendorComponentSpec `yaml:"spec" json:"spec" mapstructure:"spec"` }
type VendorComponentMetadata ¶
type VendorComponentMixins ¶
type VendorComponentSource ¶
type VendorComponentSource struct { Type string `yaml:"type" json:"type" mapstructure:"type"` Uri string `yaml:"uri" json:"uri" mapstructure:"uri"` Version string `yaml:"version" json:"version" mapstructure:"version"` IncludedPaths []string `yaml:"included_paths" json:"included_paths" mapstructure:"included_paths"` ExcludedPaths []string `yaml:"excluded_paths" json:"excluded_paths" mapstructure:"excluded_paths"` }
type VendorComponentSpec ¶
type VendorComponentSpec struct { Source VendorComponentSource `yaml:"source" json:"source" mapstructure:"source"` Mixins []VendorComponentMixins `yaml:"mixins" json:"mixins" mapstructure:"mixins"` }
type WorkflowConfig ¶
type WorkflowConfig map[string]WorkflowDefinition
type WorkflowDefinition ¶
type WorkflowDefinition struct { Description string `yaml:"description,omitempty" json:"description,omitempty" mapstructure:"description"` Steps []WorkflowStep `yaml:"steps" json:"steps" mapstructure:"steps"` Stack string `yaml:"stack,omitempty" json:"stack,omitempty" mapstructure:"stack"` }
type WorkflowManifest ¶ added in v1.56.0
type WorkflowManifest struct { Name string `yaml:"name,omitempty" json:"name,omitempty" mapstructure:"name"` Description string `yaml:"description,omitempty" json:"description,omitempty" mapstructure:"description"` Workflows WorkflowConfig `yaml:"workflows" json:"workflows" mapstructure:"workflows"` }
type WorkflowStep ¶
type WorkflowStep struct { Name string `yaml:"name,omitempty" json:"name,omitempty" mapstructure:"name"` Command string `yaml:"command" json:"command" mapstructure:"command"` Stack string `yaml:"stack,omitempty" json:"stack,omitempty" mapstructure:"stack"` Type string `yaml:"type,omitempty" json:"type,omitempty" mapstructure:"type"` }
Click to show internal directories.
Click to hide internal directories.