package
2.5.1+incompatible
Repository: https://github.com/loft-sh/devspace.git
Documentation: pkg.go.dev
# Functions
CheckAuth verifies if the user is logged into the devspace cloud and if not logs the user in.
DeleteDevSpace deletes the devspace from the cloud provider.
DeleteKubeContext removes the specified devspace id from the kube context if it exists.
GetClusterConfig retrieves the cluster and authconfig from the devspace cloud.
Login logs the user into the devspace cloud.
ParseCloudConfig parses the cloud configuration and returns a map containing the configurations.
SaveCloudConfig saves the provider configuration to file.
Update updates the cloud provider information if necessary.
UpdateKubeConfig adds the devspace-cloud context if necessary and switches the current context.
# Constants
DefaultDeployTarget is the default deployment target that is written to the config.yaml during the init process.
DeleteDevSpaceEndpoint deletes a DevSpace with all targets.
DevSpaceCloudConfigPath holds the path to the cloud config file.
DevSpaceCloudProviderName is the name of the default devspace-cloud provider.
DevSpaceKubeContextName is the name for the kube config context.
GetClusterConfigEndpoint is the endpoint where to get the kubernetes context data.
LoginEndpoint is the cloud endpoint that will log you in.
LoginSuccessEndpoint is the url redirected to after successful login.
# Variables
DevSpaceCloudProviderConfig holds the information for the devspace-cloud.
DevSpaceURL holds the domain name of the connected devspace TODO: Change this.
UseDeployTarget uses the config deploy target TODO: Refactor this.
# Structs
Provider describes the struct to hold the cloud configuration.
UpdateOptions specifies the possible options for the update command.
# Type aliases
ProviderConfig holds all the different providers and their configuration.