Documentation
¶
Overview ¶
Package config contains helpers to manage '~/.scwrc'
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigFilePath ¶
GetConfigFilePath returns the path to the Scaleway CLI config file
Types ¶
type Config ¶
type Config struct {
// Organization is the identifier of the Scaleway orgnization
Organization string `json:"organization"`
// Token is the authentication token for the Scaleway organization
Token string `json:"token"`
// Version is the actual version of scw
Version string `json:"version"`
}
Config is a Scaleway CLI configuration file
func GetConfig ¶
GetConfig returns the Scaleway CLI config file for the current user
Source Files
¶
- config.go
Click to show internal directories.
Click to hide internal directories.