common

package
v0.0.1-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfirmPassword

func ConfirmPassword(prompt, passwordPolicyPattern string) (keystore.Password, error)

Prompt for password with confirmation of the typed password

func PrintFirstStart

func PrintFirstStart()

func PrintWelcome

func PrintWelcome()

Prints welcome banner

func Prompt

func Prompt(prompt, message string) string

Prompts for input via STDIN using the given message as the user prompt.

func ReadPassword

func ReadPassword(prompt string) []byte

Reads STDIN and returns the input as []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL