helm

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: 21 Imported by: 0

Documentation

Index

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

func New

func New(config *latest.Config, helmClient helmtypes.Client, kubeClient kubectl.Client, deployConfig *latest.DeploymentConfig, log log.Logger) (deployer.Interface, error)

New creates a new helm deployment client

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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