Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BicepVersion semver.Version = semver.MustParse("0.26.170")
BicepVersion is the minimum version of bicep that we require (and the one we fetch when we fetch bicep on behalf of a user).
Functions ¶
This section is empty.
Types ¶
type BicepCli ¶
type BicepCli interface { Build(ctx context.Context, file string) (BuildResult, error) BuildBicepParam(ctx context.Context, file string, env []string) (BuildResult, error) }
func NewBicepCli ¶
func NewBicepCli( ctx context.Context, console input.Console, commandRunner exec.CommandRunner, ) (BicepCli, error)
NewBicepCli creates a new BicepCli. Azd manages its own copy of the bicep CLI, stored in `$AZD_CONFIG_DIR/bin`. If bicep is not present at this location, or if it is present but is older than the minimum supported version, it is downloaded.
type BuildResult ¶
Click to show internal directories.
Click to hide internal directories.