destroy

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: Apache-2.0 Imports: 26 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
	scmhelpers.Options // Only used for tests
	Names              []string
	Namespace          string
	Filter             string
	Dir                string
	GitUser            string // Only used for tests
	FailOnHelmError    bool
	SelectAll          bool
	PreviewClient      versioned.Interface
	KubeClient         kubernetes.Interface
	JXClient           jxc.Interface
	GitClient          gitclient.Interface
	CommandRunner      cmdrunner.CommandRunner
	Input              input.Interface
}

Options the CLI options for

func NewCmdPreviewDestroy

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

NewCmdPreviewDestroy creates a command object for the command

func (*Options) Destroy

func (o *Options) Destroy(name string) error

Destroy destroys a preview environment

func (*Options) Run

func (o *Options) Run() error

Run implements a helmfile based preview environment

func (*Options) Validate

func (o *Options) Validate() error

Validate validates the inputs are valid

Jump to

Keyboard shortcuts

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