Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
NewCommand creates an instance of the command and runner for the `rad bicep publish` command.
Function Explanation ¶
"NewCommand" creates a new Cobra command and a Runner object, sets up the command's flags and usage information, and returns the command and the Runner.
Types ¶
type Runner ¶
type Runner struct { Bicep bicep.Interface ConfigHolder *framework.ConfigHolder ConnectionFactory connections.Factory Output output.Interface File string Target string Destination *destination Template map[string]any TemplateBytes []byte }
Runner is the runner implementation for the `rad bicep publish` command.
func (*Runner) Run ¶
Run runs the `rad bicep publish` command.
Function Explanation ¶
The Run function prepares a Bicep template, extracts the destination, publishes the template to the target, and logs a success message if no errors are encountered. An error is returned if any of the steps fail.
Click to show internal directories.
Click to hide internal directories.