Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CastToCodefreshOrDie ¶
Types ¶
type CFConfig ¶
type CFConfig struct {
Contexts map[string]*CFContext `yaml:"contexts"`
CurrentContext string `yaml:"current-context"`
}
func GetCFConfig ¶
type CFContext ¶
type CFContext struct {
Type string `yaml:"type"`
Name string `yaml:"name"`
URL string `yaml:"url"`
Token string `yaml:"token"`
Beta bool `yaml:"beta"`
OnPrem bool `yaml:"onPrem"`
ACLType string `yaml:"acl-type"`
UserID string `yaml:"user-id"`
AccountID string `yaml:"account-id"`
Expires int `yaml:"expires"`
UserName string `yaml:"user-name"`
AccountName string `yaml:"account-name"`
}
Click to show internal directories.
Click to hide internal directories.