store

package
v0.0.0-...-85991d7 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: LGPL-2.1 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Viper

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

func NewViper

func NewViper(cacheDir string, sdkVersion string, noAutosync bool, noDefaultRegistry bool) *Viper

func (*Viper) Init

func (vc *Viper) Init(cfgFile string) error

func (*Viper) Load

func (vc *Viper) Load(ctx context.Context) (*commands.Config, error)

func (*Viper) Store

func (vc *Viper) Store(ctx context.Context, cfg *commands.Config) error

Jump to

Keyboard shortcuts

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