wizard

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// SatellitesURL mapping host to satellite URL.
	SatellitesURL = map[string]string{
		"us-central-1.tardigrade.io":  satellites[0],
		"europe-west-1.tardigrade.io": satellites[1],
		"asia-east-1.tardigrade.io":   satellites[2],
		"us1.storj.io":                satellites[0],
		"eu1.storj.io":                satellites[1],
		"ap1.storj.io":                satellites[2],
	}
)

Functions

func PromptForAPIKey

func PromptForAPIKey() (string, error)

PromptForAPIKey handles user input for an API key to be used with wizards.

func PromptForAccessName

func PromptForAccessName() (string, error)

PromptForAccessName handles user input for access name to be used with wizards.

func PromptForEncryptionPassphrase

func PromptForEncryptionPassphrase() (string, error)

PromptForEncryptionPassphrase handles user input for an encryption passphrase to be used with wizards.

func PromptForSatellite

func PromptForSatellite(cmd *cobra.Command) (string, error)

PromptForSatellite handles user input for a satellite address to be used with wizards.

func PromptForTracing added in v1.1.0

func PromptForTracing() (bool, error)

PromptForTracing handles user input for consent to turn on tracing to be used with wizards.

Types

This section is empty.

Jump to

Keyboard shortcuts

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