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