# Functions
BuildAtlantisProjectNameFromComponentConfig builds an Atlantis project name from the component config.
BuildComponentPath builds component path (path to the component's physical location on disk).
BuildDependentStackNameFromDependsOn builds the dependent stack name from "settings.depends_on" config.
BuildDependentStackNameFromDependsOnLegacy builds the dependent stack name from "settings.spacelift.depends_on" config.
BuildSpaceliftStackName builds a Spacelift stack name from the provided context and stack name pattern.
BuildSpaceliftStackNameFromComponentConfig builds Spacelift stack name from the component config.
BuildSpaceliftStackNames builds Spacelift stack names.
BuildTerraformWorkspace builds Terraform workspace.
CreateComponentStackMap accepts a config file and creates a map of component-stack dependencies.
ExecuteAtlantisGenerateRepoConfig generates repository configuration for Atlantis.
ExecuteAtlantisGenerateRepoConfigAffectedOnly generates repository configuration for Atlantis only for the affected compoenents and stacks.
ExecuteAtlantisGenerateRepoConfigCmd executes 'atlantis generate repo-config' command.
ExecuteAtmosCmd executes `atmos` command.
ExecuteAtmosVendorInternal downloads the artifacts from the sources and writes them to the targets.
ExecuteAwsEksUpdateKubeconfig executes 'aws eks update-kubeconfig' https://docs.aws.amazon.com/cli/latest/reference/eks/update-kubeconfig.html.
No description provided by the author
ExecuteComponentVendorInternal executes the 'atmos vendor pull' command for a component Supports all protocols (local files, Git, Mercurial, HTTP, HTTPS, Amazon S3, Google GCP), URL and archive formats described in https://github.com/hashicorp/go-getter https://www.allee.xyz/en/posts/getting-started-with-go-getter https://github.com/otiai10/copy https://opencontainers.org/ https://github.com/google/go-containerregistry https://docs.aws.amazon.com/AmazonECR/latest/public/public-registries.html.
ExecuteDescribeAffectedCmd executes `describe affected` command.
ExecuteDescribeAffectedWithTargetRefCheckout checks out the target reference, processes stack configs, and returns a list of the affected Atmos components and stacks given two Git commits.
ExecuteDescribeAffectedWithTargetRefClone clones the remote reference, processes stack configs, and returns a list of the affected Atmos components and stacks given two Git commits.
ExecuteDescribeAffectedWithTargetRepoPath uses `repo-path` to access the target repo, and processes stack configs and returns a list of the affected Atmos components and stacks given two Git commits.
ExecuteDescribeComponent describes component config.
ExecuteDescribeComponentCmd executes `describe component` command.
ExecuteDescribeConfigCmd executes `describe config` command.
ExecuteDescribeDependents produces a list of Atmos components in Atmos stacks that depend on the provided Atmos component.
ExecuteDescribeDependentsCmd executes `describe dependents` command.
ExecuteDescribeStacks processes stack manifests and returns the final map of stacks and components.
ExecuteDescribeStacksCmd executes `describe stacks` command.
ExecuteDescribeWorkflows executes `atmos describe workflows` command.
ExecuteDescribeWorkflowsCmd executes `atmos describe workflows` CLI command.
ExecuteHelmfile executes helmfile commands.
ExecuteHelmfileCmd parses the provided arguments and flags and executes helmfile commands.
ExecuteHelmfileGenerateVarfileCmd executes `helmfile generate varfile` command.
ExecuteProLockCommand executes `atmos pro lock` command.
ExecuteProUnlockCommand executes `atmos pro unlock` command.
ExecuteShell runs a shell script.
ExecuteShellAndReturnOutput runs a shell script and capture its standard output.
ExecuteShellCommand prints and executes the provided command with args and flags.
ExecuteStackVendorInternal executes the command to vendor an Atmos stack TODO: implement this.
ExecuteTerraform executes terraform commands.
ExecuteTerraformCmd parses the provided arguments and flags and executes terraform commands.
ExecuteTerraformGenerateBackendCmd executes `terraform generate backend` command.
ExecuteTerraformGenerateBackends generates backend configs for all terraform components.
ExecuteTerraformGenerateBackendsCmd executes `terraform generate backends` command.
ExecuteTerraformGenerateVarfileCmd executes `terraform generate varfile` command.
ExecuteTerraformGenerateVarfiles generates varfiles for all terraform components in all stacks.
ExecuteTerraformGenerateVarfilesCmd executes `terraform generate varfiles` command.
ExecuteValidateComponent validates a component in a stack using JsonSchema, OPA or CUE schema documents.
ExecuteValidateComponentCmd executes `validate component` command.
ExecuteValidateStacksCmd executes `validate stacks` command.
ExecuteVendorDiffCmd executes `vendor diff` commands.
ExecuteVendorPullCmd executes `vendor pull` commands.
ExecuteVendorPullCommand executes `atmos vendor` commands.
ExecuteWorkflow executes an Atmos workflow.
ExecuteWorkflowCmd executes an Atmos workflow.
No description provided by the author
FindComponentDependencies finds all imports that the component depends on, and all imports that the component has any sections defind in.
FindComponentDependenciesLegacy finds all imports where the component or the base component(s) are defined Component depends on the imported config file if any of the following conditions is true: 1.
FindComponentsDerivedFromBaseComponents finds all components that derive from the given base components.
FindComponentStacks finds all infrastructure stack manifests where the component or the base component is defined.
FindStacksMap processes stack config and returns a map of all stacks.
FindValidationSection finds 'validation' section in the component config.
FuncMap creates and returns a map of template functions.
GetFileContent tries to read and return the file content from the sync map if it exists in the map, otherwise it reads the file, stores its content in the map and returns the content.
GetStackNamePattern returns stack name pattern.
IsComponentAbstract returns 'true' if the component is abstract.
IsGolangTemplate checks if the provided string is a Go template.
ProcessBaseComponentConfig processes base component(s) config.
ProcessComponentConfig processes component config sections.
ProcessComponentMetadata processes component metadata and returns a base component (if any) and whether the component is real or abstract.
ProcessConfigSources processes the sources (files) for all sections for a component in a stack.
ProcessImportSection processes the `import` section in stack manifests The `import` section` can be of the following types: 1.
ProcessStackConfig takes a stack manifest, deep-merges all variables, settings, environments and backends, and returns the final stack configuration for all Terraform and helmfile components.
ProcessStacks processes stack config.
ProcessTmpl parses and executes Go templates.
ProcessTmplWithDatasources parses and executes Go templates with datasources.
ProcessYAMLConfigFile takes a path to a YAML stack manifest, recursively processes and deep-merges all imports, and returns the final stack config.
ProcessYAMLConfigFiles takes a list of paths to stack manifests, processes and deep-merges all imports, and returns a list of stack configs.
ReadAndProcessComponentVendorConfigFile reads and processes the component vendoring config file `component.yaml`.
ReadAndProcessVendorConfigFile reads and processes the Atmos vendoring config file `vendor.yaml`.
ValidateComponent validates the component config using JsonSchema, OPA or CUE schema documents.
ValidateStacks validates Atmos stack configuration.
ValidateWithCue validates the data structure using the provided CUE document https://cuelang.org/docs/integrations/go/#processing-cue-in-go.
ValidateWithJsonSchema validates the data structure using the provided JSON Schema document https://github.com/santhosh-tekuri/jsonschema https://go.dev/play/p/Hhax3MrtD8r.
ValidateWithOpa validates the data structure using the provided OPA document https://github.com/open-policy-agent/opa/blob/main/rego/example_test.go https://github.com/open-policy-agent/opa/blob/main/rego/rego_test.go https://www.openpolicyagent.org/docs/latest/integration/#sdk.
ValidateWithOpaLegacy validates the data structure using the provided OPA document https://www.openpolicyagent.org/docs/latest/integration/#sdk.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author