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) 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.
Click to show internal directories.
Click to hide internal directories.