package
3.5.18+incompatible
Repository: https://github.com/devspace-cloud/devspace.git
Documentation: pkg.go.dev

# Functions

AskQuestion asks the user a question depending on the variable options.
ConfigExists checks whether the yaml file for the config exists or the configs.yaml exists.
CustomResolveVars resolves variables with a custom replace function.
GetBaseConfig returns the config unmerged with potential overwrites.
GetConfig returns the config merged with all potential overwrite files.
GetConfigFromPath loads the config from a given base path.
GetConfigWithoutDefaults returns the config without setting the default values.
GetDefaultNamespace retrieves the default namespace where to operate in, either from devspace config or kube config.
GetSelector returns the service referenced by serviceName.
InitConfig initializes the config objects.
LoadConfigs loads all the configs from devspace-configs.yaml.
Merge deeply merges two objects object MUST be a pointer of a pointer overwriteObject MUST be a pointer.
RestoreVars restores the variables in the config.
SaveConfig saves the config to file.
SaveLoadedConfig writes the data of a config to its yaml file.
SetDevSpaceRoot checks the current directory and all parent directories for a .devspace folder with a config and sets the current working directory accordingly.
SetFakeConfig initializes the config objects.
ValidateOnce ensures that specific values are set in the config.

# Constants

TestNamespace is the test namespace to use.
VarEnvPrefix is the prefix environment variables should have in order to use them.

# Variables

LoadedConfig is the config that was loaded from the configs file.
LoadedVars holds all variables that were loaded.
PredefinedVars holds all predefined variables that can be used in the config.

# Interfaces

ConfigInterface defines the pattern of every config.