Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultPath ¶
DefaultPath returns the location of the config file using OS conventions.
Types ¶
type Config ¶
type Config struct {
DefaultProfile string `json:"defaultProfile,omitempty"`
DefaultRegion string `json:"defaultRegion,omitempty"`
LastRegion string `json:"lastRegion,omitempty"`
LastService string `json:"lastService,omitempty"`
}
Config represents the persisted user configuration.
type RuntimeConfig ¶
RuntimeConfig resolves configuration after applying precedence rules.
func DefaultRuntime ¶
func DefaultRuntime() RuntimeConfig
DefaultRuntime builds the runtime config when no inputs are provided.
Click to show internal directories.
Click to hide internal directories.