Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
NewCommand creates a new cobra command for unregistering a recipe from an environment, which takes in a factory and returns a cobra command and a runner. It also sets up flags for output, workspace, resource group, environment name and portable resource type, with resource-type being a required flag.
Types ¶
type Runner ¶
type Runner struct { ConfigHolder *framework.ConfigHolder ConnectionFactory connections.Factory Output output.Interface Workspace *workspaces.Workspace RecipeName string ResourceType string }
Runner is the runner implementation for the `rad recipe unregister` command.
Click to show internal directories.
Click to hide internal directories.