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 command's logic, and adds flags to the command for environment name, workspace, resource group, namespace, and cloud provider configuration.
Types ¶
type Runner ¶
type Runner struct {
ConfigHolder *framework.ConfigHolder
Output output.Interface
Workspace *workspaces.Workspace
EnvironmentName string
ResourceGroupName string
Namespace string
ConnectionFactory connections.Factory
ConfigFileInterface framework.ConfigFileInterface
KubernetesInterface kubernetes.Interface
NamespaceInterface namespace.Interface
// contains filtered or unexported fields
}
Runner is the runner implementation for the `rad env create` command.
Click to show internal directories.
Click to hide internal directories.