package
0.2.6
Repository: https://github.com/commitdev/zero.git
Documentation: pkg.go.dev

# Functions

CustomPromptHandler handles non-input and enum options prompts zero-module's parameters allow prompts to specify types of custom actions this allows non-standard enum / string input to be added, such as AWS profile picker.
Create cloud provider context.
KeyMatchCondition is a condition that checks if the key matches the value.
NoCondition is a no-op condition check function that always returns true.
NoValidation is a no-op validation function.
PromptModuleParams renders series of prompt UI based on the config.
SpecificValueValidation is a validation function that checks if the value is in the list of options.
ValidateAKID checks if the input is a valid AWS Access Key ID.
ValidateOrganizationName validates Organization Name field user input.
ValidateProjectName validates Project Name field user input.
ValidateSAK checks if the input is a valid AWS Secret Access Key.

# Structs

CredentialPrompts is a list of prompts for sensitive credentials.
PromptHandler defines how a user is prompted for a parameter, containing information about the parameter, conditions, and value validation.

# Type aliases

CustomConditionSignature is the function signature of a custom condition.