Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidGoogleCreds = errors.New("invalid google application credentials") ErrInvalidStorageBucket = errors.New("invalid storage bucket") )
View Source
var ( HomePath = os.Getenv("HOME") Dir = filepath.Join(HomePath, ".config", "dolores") File = filepath.Join(Dir, "dolores.json") )
View Source
var ErrInvalidDoloresConfig = errors.New("invalid dolores config")
Functions ¶
func MetadataFileName ¶
func MetadataFileName() string
Types ¶
type Dolores ¶
type Dolores struct {
Environments map[string]Environment `json:"environments"`
}
func LoadFromDisk ¶
func (*Dolores) AddEnvironment ¶
func (Dolores) SaveToDisk ¶
type Environment ¶
Click to show internal directories.
Click to hide internal directories.