Help us shape the future of Go! Take the 2026 Go Developer Survey

setup

package
v0.62.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 6 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 (
	// BicepConfigFileName is the name of the Bicep configuration file written by `rad init`.
	BicepConfigFileName = "bicepconfig.json"
)

Variables

This section is empty.

Functions

func GetVersionedBicepConfig added in v0.61.0

func GetVersionedBicepConfig() string

GetVersionedBicepConfig returns the default bicepconfig.json contents with the Radius and AWS Bicep extensions pinned to the current release channel.

func WriteBicepConfig added in v0.62.0

func WriteBicepConfig(directory string) error

WriteBicepConfig writes the default bicepconfig.json into directory if it does not already exist. It never overwrites an existing file because the user may have customized it.

The file is created with O_EXCL so that a file created concurrently by another process is not truncated. Any existing entry at that path, including a directory, is treated as already present.

Types

This section is empty.

Jump to

Keyboard shortcuts

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