Documentation ¶
Overview ¶
Package interactive contains functions for interacting with the user via STDIN.
Package interactive contains functions for interacting with the user via STDIN.
Index ¶
- func PromptSigPassword() ([]byte, error)
- func PromptVariable(ctx context.Context, variable v1alpha1.InteractiveVariable) (string, error)
- func SelectChoiceGroup(componentGroup []v1alpha1.ZarfComponent) (v1alpha1.ZarfComponent, error)
- func SelectOptionalComponent(component v1alpha1.ZarfComponent) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PromptSigPassword ¶
PromptSigPassword prompts the user for the password to their private key
func PromptVariable ¶
PromptVariable prompts the user for a value for a variable
func SelectChoiceGroup ¶
func SelectChoiceGroup(componentGroup []v1alpha1.ZarfComponent) (v1alpha1.ZarfComponent, error)
SelectChoiceGroup prompts to select component groups
func SelectOptionalComponent ¶
func SelectOptionalComponent(component v1alpha1.ZarfComponent) (bool, error)
SelectOptionalComponent prompts to confirm optional components
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.