Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DestroyCommand ¶
DestroyCommand creates the DestroyRunner, returning the cobra command associated with it.
Types ¶
type DestroyRunner ¶
type DestroyRunner struct {
Command *cobra.Command
PreProcess func(info inventory.InventoryInfo, strategy common.DryRunStrategy) (inventory.InventoryPolicy, error)
Destroyer *apply.Destroyer
// contains filtered or unexported fields
}
DestroyRunner encapsulates data necessary to run the destroy command.
func GetDestroyRunner ¶
func GetDestroyRunner(provider provider.Provider, loader manifestreader.ManifestLoader, ioStreams genericclioptions.IOStreams) *DestroyRunner
GetDestroyRunner creates and returns the DestroyRunner which stores the cobra command.
Click to show internal directories.
Click to hide internal directories.