deploy

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCachedHelmClient

func GetCachedHelmClient(config *latest.Config, deployConfig *latest.DeploymentConfig, client kubectlpkg.Client, helmV2Clients map[string]helmtypes.Client, dryInit bool, log log.Logger) (helmtypes.Client, error)

GetCachedHelmClient returns a helm client that could be cached in a helmV2Clients map. If not found it will add it to the map and create it

Types

type Controller

type Controller interface {
	Deploy(options *Options, log log.Logger) error
	Render(options *Options, out io.Writer) error
	Purge(deployments []string, log log.Logger) error
}

Controller is the main deploying interface

func NewController

func NewController(config *latest.Config, cache *generated.CacheConfig, client kubectlclient.Client) Controller

NewController creates a new image build controller

type Options

type Options struct {
	IsDev       bool
	ForceDeploy bool
	BuiltImages map[string]string
	Deployments []string
}

Options describe how the deployments should be deployed

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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