setup

package
v0.59.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

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

View Source
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

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

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

func ScaffoldApplication(directory string, template string) error

ScaffoldApplication creates a working sample application in the provided directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL