helm

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const HelmChartsDir string = "helm-charts"

HelmChartsDir is the relative directory within an SDK project where Helm charts are stored.

View Source
const WatchesYamlFile = "watches.yaml"

Variables

This section is empty.

Functions

func CreateChartForResource

func CreateChartForResource(r *scaffold.Resource, projectDir string) error

CreateChartForResource creates a new helm chart in the SDK project for the provided resource.

Types

type Dockerfile

type Dockerfile struct {
	input.Input

	HelmChartsDir string
	ImageTag      string
}

Dockerfile specifies the Helm Dockerfile scaffold

func (*Dockerfile) GetInput

func (d *Dockerfile) GetInput() (input.Input, error)

GetInput gets the scaffold execution input

type DockerfileHybrid added in v0.4.0

type DockerfileHybrid struct {
	input.Input

	// HelmCharts - if true, include a COPY statement for the helm-charts directory
	HelmCharts bool

	// Watches - if true, include a COPY statement for watches.yaml
	Watches bool
}

DockerfileHybrid - Dockerfile for a hybrid operator

func (*DockerfileHybrid) GetInput added in v0.4.0

func (d *DockerfileHybrid) GetInput() (input.Input, error)

GetInput - gets the input

type Entrypoint added in v0.4.0

type Entrypoint struct {
	input.Input
}

Entrypoint - entrypoint script

func (*Entrypoint) GetInput added in v0.4.0

func (e *Entrypoint) GetInput() (input.Input, error)

type GopkgToml added in v0.4.0

type GopkgToml struct {
	input.Input
}

GopkgToml - the Gopkg.toml file for a hybrid operator

func (*GopkgToml) GetInput added in v0.4.0

func (s *GopkgToml) GetInput() (input.Input, error)

type Main added in v0.4.0

type Main struct {
	input.Input
}

Main - main source file for helm operator

func (*Main) GetInput added in v0.4.0

func (m *Main) GetInput() (input.Input, error)

type Operator

type Operator struct {
	input.Input

	IsClusterScoped bool
}

Operator specifies the Helm operator.yaml manifest scaffold

func (*Operator) GetInput

func (s *Operator) GetInput() (input.Input, error)

GetInput gets the scaffold execution input

type UserSetup added in v0.4.0

type UserSetup struct {
	input.Input
}

UserSetup - userSetup script

func (*UserSetup) GetInput added in v0.4.0

func (u *UserSetup) GetInput() (input.Input, error)

type WatchesYAML

type WatchesYAML struct {
	input.Input

	Resource      *scaffold.Resource
	HelmChartsDir string
}

WatchesYAML specifies the Helm watches.yaml manifest scaffold

func (*WatchesYAML) GetInput

func (s *WatchesYAML) GetInput() (input.Input, error)

GetInput gets the scaffold execution input

Jump to

Keyboard shortcuts

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