deletecmd

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 9 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 {
	options.BaseOptions

	Details          helmfiles.ChartDetails
	Dir              string
	Helmfile         string
	GitCommitMessage string
	DoGitCommit      bool

	Gitter        gitclient.Interface
	CommandRunner cmdrunner.CommandRunner
}

Options the flags for updating webhooks

func NewCmdHelmfileDelete

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

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