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 (
// 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
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.