Documentation
¶
Index ¶
Constants ¶
View Source
const ( ContextProduction = "production" ContextPlatform = "platform" ContextPlayground = "playground" ContextDevelopment = "development" ContextPlatform2 = "platform2" )
Variables ¶
View Source
var ( RadixConfigDir = path.Join(getUserHomeDir(), radixConfigDir) RadixConfigFileFullName = path.Join(RadixConfigDir, radixConfigFileName) ValidContexts = []string{ContextProduction, ContextPlatform, ContextPlatform2, ContextPlayground, ContextDevelopment} )
Functions ¶
func IsValidContext ¶
Types ¶
type CustomConfig ¶
type CustomConfig struct {
// Context is the environment context: platform (default), playground, development, platform2
Context string `json:"Context"`
}
CustomConfig is the custom environment config
type RadixConfig ¶
type RadixConfig struct {
// CustomConfig is the custom environment config
CustomConfig *CustomConfig `json:"customConfig"`
// MSAL is the internal cache structure used by the MSAL module. The content is base64 encoded
MSAL string `json:"msal,omitempty"`
}
func GetDefaultRadixConfig ¶ added in v1.0.7
func GetDefaultRadixConfig() *RadixConfig
func GetRadixConfig ¶ added in v1.8.0
func GetRadixConfig() (*RadixConfig, error)
Click to show internal directories.
Click to hide internal directories.