Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Runner ¶
type Runner struct {
ConfigHolder *framework.ConfigHolder
ConnectionFactory connections.Factory
Workspace *workspaces.Workspace
Output output.Interface
Format string
RecipePackName string
}
Runner is the runner implementation for the `rad recipe-pack show` command.
func (*Runner) Run ¶
Run attempts to retrieve recipe pack details from an ApplicationsManagementClient and write the details to an output in a specified format, returning an error if any of these operations fail.
func (*Runner) Validate ¶
Validate runs validation for the `rad recipe-pack show` command.
Validate checks the request object for a workspace, scope, recipe pack name, and output format, and sets the corresponding fields in the Runner struct if they are found. If any of these fields are not found, an error is returned.
Click to show internal directories.
Click to hide internal directories.