destroy

package
v0.0.177 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 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
	Names           []string
	Namespace       string
	PreviewHelmfile string
	Filter          string
	GitUser         string
	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