Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v0.46.12 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 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