Documentation
¶
Overview ¶
~/.scwrc management
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 {
// ComputeAPI is the endpoint to the Scaleway API
ComputeAPI string `json:"api_endpoint"`
// AccountAPI is the endpoint to the Scaleway Account API
AccountAPI string `json:"account_endpoint"`
// 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"`
}
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.