Versions in this module Expand all Collapse all v1 v1.0.1 Oct 7, 2025 Changes in this version + var RedBg = lipgloss.NewStyle().Bold(true).Foreground(lipgloss.Color("#FF0000")) + func BuildFilterQuery(input string) string + func ComputeDisksArray(disks string, numDisks int) ([]string, error) + func ComputeIPsArray(ips string, numIPs int) ([]string, error) + func ComputeMountPointsArray(mountPoints string, numDisks int) ([]string, error) + func ComputeNamesArray(names string, numNodes int) []string + func ComputePortsArray(ports string, numPorts int) ([]int, error) + func Contains[T comparable](s []T, e T) bool + func Count[T any](slice []T, findFn func(cmp T) bool) int + func CreateTar(output string, src string) error + func ExtractTar(r io.Reader, dest string) error + func Find[T any](slice []T, findFn func(cmp T) bool) (T, bool) + func GenerateKeyPair() (ed25519.PublicKey, ed25519.PrivateKey, error) + func GenerateKeyPairFromSeed(seed []byte) (ed25519.PublicKey, ed25519.PrivateKey, error) + func GenerateSecret() (string, error) + func IsHumanMode() bool + func IsQuietMode() bool + func IsValidFilter(input string) bool + func IsValidIP(ip string) bool + func PEMDecodeKeyPair(pub []byte, priv []byte) (ed25519.PublicKey, ed25519.PrivateKey, error) + func PEMDecodePrivateKey(priv []byte) (ed25519.PrivateKey, error) + func PEMDecodePublicKey(pub []byte) (ed25519.PublicKey, error) + func PEMEncodeKeyPair(pubKey ed25519.PublicKey, privKey ed25519.PrivateKey) (pub []byte, priv []byte, err error) + func PEMEncodePrivateKey(privKey ed25519.PrivateKey) (priv []byte, err error) + func PEMEncodePublicKey(pubKey ed25519.PublicKey) (pub []byte, err error) + func PrintCreateSuccess(resourceType, id string) + func PrintDelete(s string) + func PrintEmptyLine() + func PrintEmptyList() + func PrintError(err error) + func PrintFormattedData(data interface{}, format string) + func PrintHint(s string) + func PrintInfo(s string) + func PrintList(s string) + func PrintNotFound(s string) + func PrintQuiet(fields ...string) + func PrintSimpleList(items []string) + func PrintSmartOutput[T any](cmd *cobra.Command, items []T, fieldsFunc func(T) []string, ...) error + func PrintSuccess(s string) + func PrintVerbose(data interface{}, noHeaders bool) + func PrintWarn(s string) + func SetOutputMode(mode OutputMode) + func StringOrEmpty(v *string) string + func TimeOrEmpty(v *time.Time) string + func ValidateIPsInput(ips string, numNodes int) error + func ValidateNamesInput(names string, numNodes int) error + func WriteFile(filename string, data []byte) error + type OutputMode int + const OutputHuman + const OutputQuiet + type QueryOperator string + type SmartOutputConfig struct + DefaultOutput configuration.OutputFormat + SingleResource bool + SingleResourceCompactOutput bool