add

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: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	versionstreamer.Options
	Namespace        string
	GitCommitMessage string
	Helmfile         string
	Chart            string
	Repository       string
	Version          string
	ReleaseName      string
	Values           []string
	BatchMode        bool
	DoGitCommit      bool
	Gitter           gitclient.Interface

	Results Results
	// contains filtered or unexported fields
}

Options the options for the command

func NewCmdHelmfileAdd

func NewCmdHelmfileAdd() (*cobra.Command, *Options)

NewCmdHelmfileAdd creates a command object for the command

func (*Options) Git

func (o *Options) Git() gitclient.Interface

Git returns the gitter - lazily creating one if required

func (*Options) GitCommit

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

func (*Options) Run

func (o *Options) Run() error

Run implements the command

func (*Options) Validate

func (o *Options) Validate() error

Validate validates the options and populates any missing values

type Results

type Results struct {
	HelmState                  state.HelmState
	RequirementsValuesFileName string
}

Jump to

Keyboard shortcuts

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