package
0.40.0
Repository: https://github.com/radius-project/radius.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Build() reads a Bicep file at the given file path and returns a map of the compiled output and an error if the compilation fails.
ConvertToMapStringInterface takes in a map of strings to maps of strings to any type and returns a map of strings to any type, with the values of the inner maps being the values of the returned map.
DefaultValue returns the default value of a parameter and a boolean indicating if it was found.
DeleteBicep cleans our local copy of bicep.
DownloadBicep() attempts to download a file from a given URI and save it to a local filepath, retrying up to 10 times if the download fails.
ExtractParameters extracts the parameters from the deployment template.
InjectApplicationParam injects an argument for application into the parameters if required.
InjectEnvironmentParam injects an argument for environment into the parameters if required.
IsBicepInstalled checks if the Bicep binary is installed on the local machine and returns a boolean and an error if one occurs.
NewMockInterface creates a new mock instance.
NewParameter creates a map containing a single key-value pair, where the key is "value" and the value is the parameter passed to the function.
ReadARMJSON reads a JSON file from the given file path and returns a map of strings to any type, or an error if the file could not be read or unmarshalled.
Version() attempts to retrieve the version of Bicep by running the command "--version" and returns the version as a string, or an error message if an error occurs.

# Constants

Official regex for semver https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string.

# Structs

Impl is the implementation of Interface.
MockInterface is a mock of Interface interface.
MockInterfaceMockRecorder is the mock recorder for MockInterface.
MockInterfacePrepareTemplateCall wrap *gomock.Call.
No description provided by the author
No description provided by the author
ParameterParser is used to parse the parameters as part of the `rad deploy` command.

# Interfaces

Interface is the interface for preparing Bicep or ARM-JSON templates for deployment.