config

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultPath

func DefaultPath() (string, error)

Types

type Config

type Config struct {
	Output         string `yaml:"output"`
	Region         string `yaml:"region"`
	DefaultProject string `yaml:"default_project"`
	ClientID       string `yaml:"client_id"`
	ClientSecret   string `yaml:"client_secret"`
	RedirectURL    string `yaml:"redirect_url"`
}

func Default

func Default() Config

type Store

type Store struct {
	Path string
}

func NewStore

func NewStore(path string) *Store

func (*Store) Load

func (s *Store) Load() (Config, error)

func (*Store) Save

func (s *Store) Save(cfg Config) error

Jump to

Keyboard shortcuts

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