destroy

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DestroyCommand added in v0.19.0

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
	PreProcess func(info inventory.InventoryInfo, strategy common.DryRunStrategy) (inventory.InventoryPolicy, error)
	// contains filtered or unexported fields
}

DestroyRunner encapsulates data necessary to run the destroy command.

func GetDestroyRunner added in v0.19.0

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