installer

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultChartFiles = []*chartutil.BufferedFile{
	{
		Name: chartutil.ChartfileName,
		Data: []byte(fmt.Sprintf(prowChart, version.Release)),
	},
	{
		Name: chartutil.ValuesfileName,
		Data: []byte(fmt.Sprintf(prowValues, version.Release)),
	},
	{
		Name: chartutil.IgnorefileName,
		Data: []byte(prowIgnore),
	},
	{
		Name: path.Join(chartutil.TemplatesDir, chartutil.DeploymentName),
		Data: []byte(prowDeployment),
	},
	{
		Name: path.Join(chartutil.TemplatesDir, chartutil.ServiceName),
		Data: []byte(prowService),
	},
	{
		Name: path.Join(chartutil.TemplatesDir, chartutil.NotesName),
		Data: []byte(prowNotes),
	},
	{
		Name: path.Join(chartutil.TemplatesDir, chartutil.HelpersName),
		Data: []byte(prowHelpers),
	},
}

DefaultChartFiles represent the default chart files relevant to a Prow chart installation

Functions

func Install

func Install(client *helm.Client, chartConfig *chart.Config, namespace string) error

Install uses the helm client to install Prowd with the given config.

Returns an error if the command failed.

func Upgrade

func Upgrade(client *helm.Client, chartConfig *chart.Config) error

Upgrade uses the helm client to upgrade Prowd using the given config.

Returns an error if the command failed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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