Documentation
¶
Index ¶
- Constants
- Variables
- func FilterAndListComponents(stackFlag string, stacksMap map[string]any) ([]string, error)
- func FilterAndListStacks(stacksMap map[string]any, component string) ([]string, error)
- func FilterAndListWorkflows(fileFlag string, listConfig schema.ListConfig, format string, delimiter string) (string, error)
- func ValidateFormat(format string) error
Constants ¶
View Source
const ( FormatTable = "table" FormatJSON = "json" FormatCSV = "csv" )
Variables ¶
View Source
var ( // ErrParseStacks is returned when stack data cannot be parsed. ErrParseStacks = errors.New("could not parse stacks") // ErrParseComponents is returned when component data cannot be parsed. ErrParseComponents = errors.New("could not parse components") // ErrParseTerraformComponents is returned when terraform component data cannot be parsed. ErrParseTerraformComponents = errors.New("could not parse Terraform components") // ErrStackNotFound is returned when a requested stack is not found. ErrStackNotFound = errors.New("stack not found") // ErrProcessStack is returned when there's an error processing a stack. ErrProcessStack = errors.New("error processing stack") )
Error definitions for component listing.
Functions ¶
func FilterAndListComponents ¶
FilterAndListComponents filters and lists components based on the given stack.
func FilterAndListStacks ¶
FilterAndListStacks filters stacks by the given component
func FilterAndListWorkflows ¶ added in v1.155.0
func FilterAndListWorkflows(fileFlag string, listConfig schema.ListConfig, format string, delimiter string) (string, error)
FilterAndListWorkflows filters and lists workflows based on the given file
func ValidateFormat ¶ added in v1.155.0
ValidateFormat checks if the given format is supported
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.