Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
NewCommand creates a new cobra command for registering an Azure cloud provider credential for a Radius installation, which requires a service principal with the Contributor or Owner role assigned to the provided resource group.
Types ¶
type Runner ¶
type Runner struct {
ConfigHolder *framework.ConfigHolder
ConnectionFactory connections.Factory
Output output.Interface
Format string
Workspace *workspaces.Workspace
ClientID string
ClientSecret string
TenantID string
KubeContext string
}
Runner is the runner implementation for the `rad credential register azure` command.
func (*Runner) Run ¶
Run registers a credential for the Azure cloud provider in the Radius installation, updates the server-side to add/change credentials. It returns an error if any of the steps fail.
Click to show internal directories.
Click to hide internal directories.