Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
NewCommand creates a new Cobra command and a Runner object to handle the `rad env create` command, and adds flags for environment name, workspace, resource group, Kubernetes namespace, and cloud provider configuration.
Types ¶
type Runner ¶
type Runner struct {
ConfigHolder *framework.ConfigHolder
Output output.Interface
Workspace *workspaces.Workspace
EnvironmentName string
ResourceGroupName string
RadiusCoreClientFactory *corerpv20250801.ClientFactory
// DefaultScopeClientFactory is a client factory scoped to the default resource group.
// The default recipe pack is always created in this scope. If nil, it will be
// initialized automatically.
DefaultScopeClientFactory *corerpv20250801.ClientFactory
ConfigFileInterface framework.ConfigFileInterface
ConnectionFactory connections.Factory
// contains filtered or unexported fields
}
Runner is the runner implementation for the `rad env create` command.
func (*Runner) Run ¶
Run runs the `rad env create --preview` command.
Run creates a new Radius.Core environment with the default recipe pack
Click to show internal directories.
Click to hide internal directories.