repositories

package
v0.0.0-...-24d9d29 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoConfigFound = errors.New("no config found, run 'init' command")

Functions

This section is empty.

Types

type ConfigManager

type ConfigManager struct {
	// contains filtered or unexported fields
}

func NewConfigManager

func NewConfigManager(cfgFile *string) *ConfigManager

func (ConfigManager) DecryptConfig

func (mgr ConfigManager) DecryptConfig() error

func (*ConfigManager) OpenConfig

func (mgr *ConfigManager) OpenConfig() (output string, v *viper.Viper, err error)

func (*ConfigManager) SetMasterpass

func (mgr *ConfigManager) SetMasterpass(masterpass string)

func (ConfigManager) WriteConfig

func (mgr ConfigManager) WriteConfig() (err error)

Jump to

Keyboard shortcuts

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