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 EnvName string // contains filtered or unexported fields }
Runner is the runner implementation for the `rad env update` command.
func (*Runner) Run ¶
Run updates the environment with the given name with the given cloud provider scope. It returns an error if the environment does not exist or if the update fails.
func (*Runner) Validate ¶
Validate checks the command flags and arguments for the required workspace, scope, environment name, Azure subscription ID, Azure resource group, AWS region, and AWS account ID, and sets the corresponding values in the Runner struct. If any of these values are not provided, an error is returned.
Click to show internal directories.
Click to hide internal directories.