helmexec

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(writer io.Writer, kubeContext string) *execer

New for running helm commands

Types

type Interface

type Interface interface {
	SetExtraArgs(args ...string)

	AddRepo(name, repository, certfile, keyfile string) error
	UpdateRepo() error
	UpdateDeps(chart string) error
	SyncRelease(name, chart string, flags ...string) error
	DiffRelease(name, chart string, flags ...string) error
	ReleaseStatus(name string) error
	DeleteRelease(name string, flags ...string) error
	TestRelease(name string, flags ...string) error

	DecryptSecret(name string) (string, error)
}

Interface for executing helm commands

type Runner

type Runner interface {
	Execute(cmd string, args []string) ([]byte, error)
}

Runner interface for shell commands

type ShellRunner

type ShellRunner struct{}

ShellRunner implemention for shell commands

func (ShellRunner) Execute

func (shell ShellRunner) Execute(cmd string, args []string) ([]byte, error)

Execute a shell command

Jump to

Keyboard shortcuts

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