installer

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT-0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HelmInstaller

type HelmInstaller struct {
	ChartName           string
	DryRun              bool
	PostRenderKustomize template.Template
	PVCLabels           map[string]string
	ReleaseName         string
	RepositoryURL       string
	ValuesTemplate      template.Template
	VersionField        string
	Wait                bool
	// contains filtered or unexported fields
}

func (*HelmInstaller) Install

func (i *HelmInstaller) Install(options application.Options) error

func (*HelmInstaller) Run

func (h *HelmInstaller) Run(renderedManifests *bytes.Buffer) (modifiedManifests *bytes.Buffer, err error)

PostRender

func (*HelmInstaller) SetDryRun

func (i *HelmInstaller) SetDryRun()

func (*HelmInstaller) Type

func (*HelmInstaller) Uninstall

func (i *HelmInstaller) Uninstall(options application.Options) error

type HelmPrinter

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

func NewHelmPrinter

func NewHelmPrinter(release *HelmInstaller, options application.Options, values string) *HelmPrinter

func (*HelmPrinter) PrintTable

func (p *HelmPrinter) PrintTable(writer io.Writer) error

type KustomizeInstaller

type KustomizeInstaller struct {
	ResourceTemplate  template.Template
	KustomizeTemplate template.Template
	DryRun            bool
}

func (*KustomizeInstaller) Install

func (i *KustomizeInstaller) Install(options application.Options) error

func (*KustomizeInstaller) SetDryRun

func (i *KustomizeInstaller) SetDryRun()

func (*KustomizeInstaller) Type

func (*KustomizeInstaller) Uninstall

func (i *KustomizeInstaller) Uninstall(options application.Options) error

type ManifestInstaller

type ManifestInstaller struct {
	AppName           string
	DryRun            bool
	KustomizeTemplate template.Template
	ResourceTemplate  template.Template
}

func (*ManifestInstaller) Install

func (i *ManifestInstaller) Install(options application.Options) error

func (*ManifestInstaller) SetDryRun

func (i *ManifestInstaller) SetDryRun()

func (*ManifestInstaller) Type

func (*ManifestInstaller) Uninstall

func (i *ManifestInstaller) Uninstall(options application.Options) error

Jump to

Keyboard shortcuts

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