helm

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdHelm

func NewCmdHelm() *cobra.Command

NewCmdHelm creates the new command

Types

type TemplateOptions

type TemplateOptions struct {
	OutDir           string
	HelmBinary       string
	ReleaseName      string
	Namespace        string
	Chart            string
	ValuesFiles      []string
	DefaultDomain    string
	GitCommitMessage string
	Version          string
	Repository       string
	BatchMode        bool
	DoGitCommit      bool
	NoSplit          bool
	NoExtSecrets     bool
	IncludeCRDs      bool
	CheckExists      bool
	Gitter           gitclient.Interface
	CommandRunner    cmdrunner.CommandRunner
}

HelmTemplateOptions the options for the command

func NewCmdHelmTemplate

func NewCmdHelmTemplate() (*cobra.Command, *TemplateOptions)

NewCmdHelmTemplate creates a command object for the command

func (*TemplateOptions) AddFlags

func (o *TemplateOptions) AddFlags(cmd *cobra.Command)

func (*TemplateOptions) Git

Git returns the gitter - lazily creating one if required

func (*TemplateOptions) GitCommit

func (o *TemplateOptions) GitCommit(outDir string, commitMessage string) error

func (*TemplateOptions) Run

func (o *TemplateOptions) Run() error

Run implements the command

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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