template

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
	// contains filtered or unexported fields
}

func NewFactory

func NewFactory(coreClient kubernetes.Interface, fetchFactory fetch.Factory) Factory

func (Factory) NewHelmTemplate

func (f Factory) NewHelmTemplate(
	opts v1alpha1.AppTemplateHelmTemplate, genericOpts GenericOpts) *HelmTemplate

func (Factory) NewKbld

func (f Factory) NewKbld(opts v1alpha1.AppTemplateKbld, genericOpts GenericOpts) *Kbld

func (Factory) NewYtt

func (f Factory) NewYtt(opts v1alpha1.AppTemplateYtt, genericOpts GenericOpts) *Ytt

type GenericOpts

type GenericOpts struct {
	Name      string
	Namespace string
}

type HelmTemplate

type HelmTemplate struct {
	// contains filtered or unexported fields
}

func NewHelmTemplate

func NewHelmTemplate(opts v1alpha1.AppTemplateHelmTemplate,
	genericOpts GenericOpts, coreClient kubernetes.Interface) *HelmTemplate

func (*HelmTemplate) TemplateDir

func (t *HelmTemplate) TemplateDir(chartPath string) exec.CmdRunResult

func (*HelmTemplate) TemplateStream

func (t *HelmTemplate) TemplateStream(_ io.Reader) exec.CmdRunResult

type Kbld

type Kbld struct {
	// contains filtered or unexported fields
}

func NewKbld

func NewKbld(opts v1alpha1.AppTemplateKbld, genericOpts GenericOpts) *Kbld

func (*Kbld) TemplateDir

func (t *Kbld) TemplateDir(dirPath string) exec.CmdRunResult

func (*Kbld) TemplateStream

func (t *Kbld) TemplateStream(input io.Reader) exec.CmdRunResult

type Template

type Template interface {
	TemplateDir(dirPath string) exec.CmdRunResult
	TemplateStream(io.Reader) exec.CmdRunResult
}

type Ytt

type Ytt struct {
	// contains filtered or unexported fields
}

func NewYtt

func NewYtt(opts v1alpha1.AppTemplateYtt,
	genericOpts GenericOpts, fetchFactory fetch.Factory) *Ytt

func (*Ytt) TemplateDir

func (t *Ytt) TemplateDir(dirPath string) exec.CmdRunResult

func (*Ytt) TemplateStream

func (t *Ytt) TemplateStream(input io.Reader) exec.CmdRunResult

Jump to

Keyboard shortcuts

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