Documentation
¶
Index ¶
- Variables
- func New(config *latest.Config, helmClient helmtypes.Client, kubeClient kubectl.Client, ...) (deployer.Interface, error)
- type DeployConfig
- func (d *DeployConfig) Delete(cache *generated.CacheConfig) error
- func (d *DeployConfig) Deploy(cache *generated.CacheConfig, forceDeploy bool, builtImages map[string]string) (bool, error)
- func (d *DeployConfig) Render(cache *generated.CacheConfig, builtImages map[string]string, out io.Writer) error
- func (d *DeployConfig) Status() (*deployer.StatusResult, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DevSpaceChartConfig = &latest.ChartConfig{
Name: "component-chart",
Version: "v0.0.8",
RepoURL: "https://charts.devspace.cloud",
}
DevSpaceChartConfig is the config that holds the devspace chart information
Functions ¶
Types ¶
type DeployConfig ¶
type DeployConfig struct {
// Public because we can switch them to fake clients for testing
Kube kubectl.Client
Helm helmtypes.Client
TillerNamespace string
DeploymentConfig *latest.DeploymentConfig
Log log.Logger
// contains filtered or unexported fields
}
DeployConfig holds the information necessary to deploy via helm
func (*DeployConfig) Delete ¶
func (d *DeployConfig) Delete(cache *generated.CacheConfig) error
Delete deletes the release
func (*DeployConfig) Deploy ¶
func (d *DeployConfig) Deploy(cache *generated.CacheConfig, forceDeploy bool, builtImages map[string]string) (bool, error)
Deploy deploys the given deployment with helm
func (*DeployConfig) Render ¶
func (d *DeployConfig) Render(cache *generated.CacheConfig, builtImages map[string]string, out io.Writer) error
Render runs a `helm template`
func (*DeployConfig) Status ¶
func (d *DeployConfig) Status() (*deployer.StatusResult, error)
Status gets the status of the deployment
Click to show internal directories.
Click to hide internal directories.