Documentation ¶
Index ¶
- func Bool(val bool) *bool
- func ConfigExists() (bool, error)
- func GetConfig(reload bool) *v1.Config
- func GetConfigInstance() *v1.Config
- func GetOverwriteConfig(reload bool) *v1.Config
- func Merge(object interface{}, overwriteObject interface{})
- func SaveConfig() error
- func String(val string) *string
- type ConfigInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigExists ¶
ConfigExists checks whether the yaml file for the config exists
func GetConfig ¶
GetConfig returns the config merged from .devspace/config.yaml and .devspace/overwrite.yaml
func GetConfigInstance ¶
GetConfigInstance returns the reference to the config (in most cases it is recommended to use GetConfig instaed)
func GetOverwriteConfig ¶
GetOverwriteConfig returns the config retrieved from .devspace/overwrite.yaml
Types ¶
type ConfigInterface ¶
type ConfigInterface interface{}
ConfigInterface defines the pattern of every config
Click to show internal directories.
Click to hide internal directories.