Documentation
¶
Index ¶
- func Box(content string)
- func Error(message string)
- func FormatDuration(d time.Duration) string
- func Header(message string)
- func Info(message string)
- func PrintContainerInfo(c *database.Container)
- func PromptConfirm(label string) (bool, error)
- func PromptString(label string, defaultValue string) (string, error)
- func SelectContainer(containers []*database.Container, label string) (*database.Container, error)
- func SelectDBType() (string, error)
- func SelectUser(users []*database.User, label string) (*database.User, error)
- func SelectVolumeOption() (string, error)
- func Success(message string)
- func Warning(message string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDuration ¶
FormatDuration formats a duration in a human-readable way
func PrintContainerInfo ¶
PrintContainerInfo prints detailed container information
func PromptConfirm ¶
PromptConfirm prompts the user for confirmation
func PromptString ¶
PromptString prompts the user for a string input
func SelectContainer ¶
SelectContainer prompts the user to select a container
func SelectDBType ¶
SelectDBType prompts the user to select a database type
func SelectUser ¶
SelectUser prompts the user to select a user
func SelectVolumeOption ¶
SelectVolumeOption prompts the user to select a volume option
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.