config

package
v0.38.6 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// RootCmd is a root command of config section.
	RootCmd = &cobra.Command{
		Use:   "config",
		Short: "Section for frostfs-adm config related commands",
	}
)

Functions

func GetPassword

func GetPassword(v *viper.Viper, name string) (string, error)

func GetStoragePassword

func GetStoragePassword(v *viper.Viper, name string) (string, error)

func ResolveHomePath

func ResolveHomePath(path string) string

ResolveHomePath replaces leading `~` with home directory.

Does nothing if path does not start with contain `~`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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