add

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 12 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
	helmfiles.ChartDetails

	GitCommitMessage string
	Helmfile         string
	DoGitCommit      bool
	Gitter           gitclient.Interface
}

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, 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

Jump to

Keyboard shortcuts

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