Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PreviewCommand ¶ added in v0.19.0
PreviewCommand creates the PreviewRunner, returning the cobra command associated with it.
Types ¶
type PreviewRunner ¶ added in v0.19.0
type PreviewRunner struct { Command *cobra.Command Applier *apply.Applier Destroyer *apply.Destroyer // contains filtered or unexported fields }
PreviewRunner encapsulates data necessary to run the preview command.
func GetPreviewRunner ¶ added in v0.19.0
func GetPreviewRunner(provider provider.Provider, 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.