destroy

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DestroyCommand added in v0.19.0

func DestroyCommand(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command

DestroyCommand creates the DestroyRunner, returning the cobra command associated with it.

Types

type DestroyRunner added in v0.19.0

type DestroyRunner struct {
	Command *cobra.Command

	Destroyer *apply.Destroyer
	// contains filtered or unexported fields
}

DestroyRunner encapsulates data necessary to run the destroy command.

func GetDestroyRunner added in v0.19.0

func GetDestroyRunner(provider provider.Provider, loader manifestreader.ManifestLoader, ioStreams genericclioptions.IOStreams) *DestroyRunner

GetDestroyRunner creates and returns the DestroyRunner which stores the cobra command.

func (*DestroyRunner) RunE added in v0.19.0

func (r *DestroyRunner) RunE(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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