Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
NewCommand creates a new Cobra command and a Runner to deploy a Bicep or ARM template to a specified environment, with optional parameters. It also adds common flags to the command for workspace, resource group, environment name, application name and parameters.
Types ¶
type Runner ¶
type Runner struct {
Bicep bicep.Interface
ConfigHolder *framework.ConfigHolder
ConnectionFactory connections.Factory
Deploy deploy.Interface
Output output.Interface
ApplicationName string
EnvironmentNameOrID string
FilePath string
Parameters map[string]map[string]any
Workspace *workspaces.Workspace
Providers *clients.Providers
}
Runner is the runner implementation for the `rad deploy` command.
Click to show internal directories.
Click to hide internal directories.