Documentation
¶
Index ¶
Constants ¶
View Source
const ( CredentialsFilename = "credentials.yml" AccessKeyEnvVar = "LABSTORE_ACCESS_KEY" SecretKeyEnvVar = "LABSTORE_SECRET_KEY" )
Variables ¶
This section is empty.
Functions ¶
func CredentialsPath ¶
Types ¶
type Credentials ¶
type Credentials struct {
DefaultProfile *string `yaml:"default_profile"`
Profiles map[string]*Profile `yaml:"profiles"`
}
func LoadCredentials ¶
func LoadCredentials() (*Credentials, error)
func (*Credentials) Save ¶
func (c *Credentials) Save() error
Click to show internal directories.
Click to hide internal directories.