configure

package
v1.1.1-0...-9418116 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddImage

func AddImage(baseConfig *latest.Config, nameInConfig, name, tag, contextPath, dockerfilePath, buildTool string, log log.Logger) error

AddImage adds an image to the devspace

func AddPort

func AddPort(baseConfig *latest.Config, namespace, labelSelector string, args []string) error

AddPort adds a port to the config

func AddSyncPath

func AddSyncPath(baseConfig *latest.Config, localPath, containerPath, namespace, labelSelector, excludedPathsString string) error

AddSyncPath adds a new sync path to the config

func GetDockerfileComponentDeployment

func GetDockerfileComponentDeployment(config *latest.Config, generatedConfig *generated.Config, name, imageName, dockerfile, context string, log log.Logger) (*latest.ImageConfig, *latest.DeploymentConfig, error)

GetDockerfileComponentDeployment returns a new deployment that deploys an image built from a local dockerfile via a component

func GetHelmDeployment

func GetHelmDeployment(name, chartName, chartRepo, chartVersion string) (*latest.DeploymentConfig, error)

GetHelmDeployment returns a new helm deployment

func GetImageComponentDeployment

func GetImageComponentDeployment(name, imageName string, log log.Logger) (*latest.ImageConfig, *latest.DeploymentConfig, error)

GetImageComponentDeployment returns a new deployment that deploys an image via a component

func GetImageConfigFromDockerfile

func GetImageConfigFromDockerfile(config *latest.Config, imageName, dockerfile, context string, log log.Logger) (*latest.ImageConfig, error)

GetImageConfigFromDockerfile gets the image config based on the configured cloud provider or asks the user where to push to

func GetImageConfigFromImageName

func GetImageConfigFromImageName(imageName, dockerfile, context string) *latest.ImageConfig

GetImageConfigFromImageName returns an image config based on the image

func GetKubectlDeployment

func GetKubectlDeployment(name, manifests string) (*latest.DeploymentConfig, error)

GetKubectlDeployment retruns a new kubectl deployment

func GetNameOfFirstDeployment

func GetNameOfFirstDeployment(config *latest.Config) string

GetNameOfFirstDeployment retrieves the first deployment name

func GetPredefinedComponentDeployment

func GetPredefinedComponentDeployment(name, component string, log log.Logger) (*latest.DeploymentConfig, error)

GetPredefinedComponentDeployment returns deployment that uses a predefined component

func RemoveDeployment

func RemoveDeployment(baseConfig *latest.Config, removeAll bool, name string) (bool, error)

RemoveDeployment removes one or all deployments from the config

func RemoveImage

func RemoveImage(baseConfig *latest.Config, removeAll bool, names []string) error

RemoveImage removes an image from the devspace

func RemovePort

func RemovePort(baseConfig *latest.Config, removeAll bool, labelSelector string, args []string) error

RemovePort removes a port from the config

func RemoveSyncPath

func RemoveSyncPath(baseConfig *latest.Config, removeAll bool, localPath, containerPath, labelSelector string) error

RemoveSyncPath removes a sync path from the config

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL