Documentation
¶
Overview ¶
package setup contains support functions for programmatically installing and uninstalling Radius. These functions are intended for use by the CLI and will print output.
Index ¶
Constants ¶
const ( // AppBicepTemplate is the app.bicep template used by `rad init`. AppBicepTemplate = `` /* 419-byte string literal not displayed */ // PreviewAppBicepTemplate is the app.bicep template used by `rad init --preview`. PreviewAppBicepTemplate = `` /* 588-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func EnsureEnvironment ¶ added in v0.59.0
func EnsureEnvironment( ctx context.Context, client clients.ApplicationsManagementClient, envName string, namespace string, providers *corerp.Providers, recipes map[string]map[string]corerp.RecipePropertiesClassification, ) error
EnsureEnvironment creates or updates a Radius environment configured to deploy into the given Kubernetes namespace. The optional providers and recipes are attached to the environment when non-nil. Re-running on an existing environment is safe.
func EnsureResourceGroup ¶ added in v0.59.0
func EnsureResourceGroup(ctx context.Context, client clients.ApplicationsManagementClient, planeName, groupName string) error
EnsureResourceGroup creates or updates a Radius resource group on the given UCP plane using CreateOrUpdate semantics. Re-running on an existing group is safe.
func ScaffoldApplication ¶
ScaffoldApplication creates a working sample application in the provided directory.
Types ¶
This section is empty.