config

package
v0.39.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 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 neofs-adm config related commands",
	}
)

Functions

func GetPassword added in v0.28.2

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

func GetStoragePassword added in v0.29.0

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

func ResolveHomePath added in v0.24.0

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