Documentation ¶
Index ¶
Constants ¶
View Source
const ( COSTPILOT_PROVIDER = "COSTPILOT_PROVIDER" COSTPILOT_AK = "COSTPILOT_AK" COSTPILOT_SK = "COSTPILOT_SK" COSTPILOT_REGION_ID = "COSTPILOT_REGION_ID" )
Variables ¶
This section is empty.
Functions ¶
func InitFileConfig ¶
InitFileConfig load configuration from config file
func InitFromEnvConfig ¶
func InitFromEnvConfig() error
InitFromEnvConfig lood configuration from environment
Types ¶
type Config ¶
type Config struct {
CloudAccounts []types.CloudAccount `json:"cloud_accounts" yaml:"cloud_accounts"`
}
func GetGlobalConfig ¶
func GetGlobalConfig() *Config
Click to show internal directories.
Click to hide internal directories.