Documentation ¶
Index ¶
- Constants
- func AddAWSAccountFlag(cmd *cobra.Command)
- func AddAWSRegionFlag(cmd *cobra.Command)
- func AddAWSScopeFlags(cmd *cobra.Command)
- func AddApplicationNameFlag(cmd *cobra.Command)
- func AddAzureResourceGroupFlag(cmd *cobra.Command)
- func AddAzureScopeFlags(cmd *cobra.Command)
- func AddAzureSubscriptionFlag(cmd *cobra.Command)
- func AddConfirmationFlag(cmd *cobra.Command)
- func AddEnvironmentNameFlag(cmd *cobra.Command)
- func AddKubeContextFlagVar(cmd *cobra.Command, ref *string)
- func AddNamespaceFlag(cmd *cobra.Command)
- func AddOutputFlag(cmd *cobra.Command)
- func AddParameterFlag(cmd *cobra.Command)
- func AddResourceGroupFlag(cmd *cobra.Command)
- func AddResourceTypeFlag(cmd *cobra.Command)
- func AddWorkspaceFlag(cmd *cobra.Command)
Constants ¶
const ( // AzureSubscriptionIdFlag provides azure subscription Id. AzureSubscriptionIdFlag = "azure-subscription-id" // AzureResourceGroupFlag provides azure resource group. AzureResourceGroupFlag = "azure-resource-group" // AWSRegionFlag provides aws region. AWSRegionFlag = "aws-region" // AWSAccountIdFlag provides aws accound id. AWSAccountIdFlag = "aws-account-id" // ClearEnvAzureFlag tells the command to clear azure scope on the environment it is configured. ClearEnvAzureFlag = "clear-azure" // ClearEnvAWSFlag tells the command to clear aws scope on the environment it is configured. ClearEnvAWSFlag = "clear-aws" )
Variables ¶
This section is empty.
Functions ¶
func AddAWSAccountFlag ¶
AddAWSAccountFlag adds a flag to the given command that allows the user to specify an AWS account ID.
func AddAWSRegionFlag ¶
AddAWSRegionFlag adds a flag to the given command that allows the user to specify the AWS region where resources will be deployed.
func AddAWSScopeFlags ¶
"AddAWSScopeFlags" adds flags to a Cobra command to set the AWS region and account ID, and marks them as required together, as well as mutually exclusive with the ClearEnvAWSFlag.
func AddApplicationNameFlag ¶
AddApplicationNameFlag adds a flag to the given command that allows the user to specify an application name.
func AddAzureResourceGroupFlag ¶
AddAzureResourceGroupFlag adds a flag to the given command that allows the user to specify the resource group where Azure resources will be deployed.
func AddAzureScopeFlags ¶
AddAzureScopeFlags adds flags to a command to specify an Azure subscription and resource group, and marks them as required together, as well as mutually exclusive with a flag to clear environment variables.
func AddAzureSubscriptionFlag ¶
AddAzureSubscriptionFlag adds a flag to the given command that allows the user to specify an Azure subscription ID.
func AddConfirmationFlag ¶
AddConfirmationFlag adds a flag to the given command that allows the user to confirm an action with a boolean value.
func AddEnvironmentNameFlag ¶
AddEnvironmentNameFlag adds a flag to the given command that allows the user to specify an environment name.
func AddKubeContextFlagVar ¶
AddKubeContextFlagVar adds a flag to the given command that allows the user to specify a Kubernetes context to use.
func AddNamespaceFlag ¶
AddNamespaceFlag adds a flag to the given command that allows the user to specify a Kubernetes namespace.
func AddOutputFlag ¶
AddOutputFlag adds a flag to the given command that allows the user to specify the output format of the command's output.
func AddParameterFlag ¶
AddParameterFlag adds a flag to the given command that allows the user to specify parameters for the deployment.
func AddResourceGroupFlag ¶
AddResourceGroupFlag adds a flag to the given command that allows the user to specify a Radius resource group name.
func AddResourceTypeFlag ¶
AddResourceTypeFlag adds a flag to the given command that allows the user to specify the type of the portable resource this recipe can be consumed by.
func AddWorkspaceFlag ¶
AddWorkspaceFlag adds a flag to the given command that allows the user to specify a workspace name.
Types ¶
This section is empty.