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, invFactory inventory.InventoryClientFactory, loader manifestreader.ManifestLoader, 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 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
func GetDestroyRunner(factory cmdutil.Factory, invFactory inventory.InventoryClientFactory, 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.