bicepUtils

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package bicepUtils contains helpers for working with Bicep input files, such as compiling .bicepparam files to ARM JSON parameter files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompileBicepParamsToTempFile

func CompileBicepParamsToTempFile(bicepExecPath, paramsFilePath string) (string, error)

CompileBicepParamsToTempFile compiles the given .bicepparam file to an ARM JSON parameters file using `bicep build-params`. The output is written to a freshly-created temp file, so any pre-existing "<name>.parameters.json" next to the source file is left untouched.

The caller is responsible for removing the returned path when no longer needed (typically via defer / t.Cleanup). If an error occurs, the temp file is removed before returning.

func IsBicepParamFile

func IsBicepParamFile(path string) bool

IsBicepParamFile reports whether the given path refers to a .bicepparam file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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