Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
NewCommand creates a new cobra command that can be used to list resource groups within the current or specified workspace, and returns a Runner object that can be used to execute the command. It also adds workspace and output flags to the command.
Types ¶
type Runner ¶
type Runner struct { ConfigHolder *framework.ConfigHolder ConnectionFactory connections.Factory Output output.Interface Workspace *workspaces.Workspace UCPResourceGroupName string ResourceType string ResourceName string Format string }
Runner is the runner implementation for the `rad group list` command.
func (*Runner) Run ¶
Run creates an ApplicationsManagementClient, retrieves a list of radius resource groups, and writes the results to an output in a formatted way, returning an error if one occurs.
Click to show internal directories.
Click to hide internal directories.