Documentation
¶
Index ¶
Constants ¶
View Source
const ErrWrappingFormat = "%w: %w"
Variables ¶
View Source
var ( ErrDownloadPackage = errors.New("failed to download package") ErrProcessOCIImage = errors.New("failed to process OCI image") ErrCopyPackage = errors.New("failed to copy package") ErrCreateTempDir = errors.New("failed to create temp directory") ErrUnknownPackageType = errors.New("unknown package type") ErrLocalMixinURICannotBeEmpty = errors.New("local mixin URI cannot be empty") ErrLocalMixinInstallationNotImplemented = errors.New("local mixin installation not implemented") ErrFailedToInitializeTUIModel = errors.New("failed to initialize TUI model: verify terminal capabilities and permissions") ErrSetTempDirPermissions = errors.New("failed to set temp directory permissions") ErrCopyPackageToTarget = errors.New("failed to copy package to target") ErrNoValidInstallerPackage = errors.New("no valid installer package provided") ErrFailedToInitializeTUIModelWithDetails = errors.New("failed to initialize TUI model: verify terminal capabilities and permissions") ErrValidPackage = errors.New("no valid installer package provided for") ErrTUIModel = errors.New("failed to initialize TUI model") ErrNoFilesFound = errors.New("no files found in directory") ErrMultipleFilesFound = errors.New("multiple files found in directory") ErrSourceDirNotExist = errors.New("source directory does not exist") ErrEmptyFilePath = errors.New("file path is empty") ErrPathResolution = errors.New("failed to resolve absolute path") ErrInvalidTemplateFunc = errors.New("invalid template function") ErrNoDocsGenerateEntry = errors.New("no docs.generate entry found") ErrMissingDocType = errors.New("doc-type argument missing") ErrUnsupportedInputType = errors.New("unsupported input type") ErrMissingStackNameTemplateAndPattern = errors.New("'stacks.name_pattern' or 'stacks.name_template' needs to be specified in 'atmos.yaml'") // ErrPlanHasDiff is returned when there are differences between two Terraform plan files. ErrPlanHasDiff = errors.New("plan files have differences") ErrInvalidTerraformFlagsWithAffectedFlag = errors.New("the `--affected` flag can't be used with the other multi-component (bulk operations) flags `--all`, `--query` and `--components`") ErrInvalidTerraformComponentWithMultiComponentFlags = errors.New("the `component` argument can't be used with the multi-component (bulk operations) flags `--affected`, `--all`, `--query` and `--components`") ErrInvalidTerraformSingleComponentAndMultiComponentFlags = errors.New("the single-component flags (`--from-plan`, `--planfile`) can't be used with the multi-component (bulk operations) flags (`--affected`, `--all`, `--query`, `--components`)") )
Functions ¶
func CheckErrorAndPrint ¶
CheckErrorAndPrint prints an error message.
func CheckErrorPrintAndExit ¶
CheckErrorPrintAndExit prints an error message and exits with exit code 1.
func InitializeMarkdown ¶
func InitializeMarkdown(atmosConfig schema.AtmosConfiguration)
InitializeMarkdown initializes a new Markdown renderer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.