Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadToFolder ¶
DownloadToFolder creates a folder and a file, downloads the bicep binary to the file,
func GetLocalFilepath ¶
GetLocalFilepath checks for an override path in an environment variable, and if it exists, returns it. If not, it returns the path to the binary in the user's home directory. It returns an error if it cannot find the user's home directory or if the filename is invalid.
func GetValidPlatform ¶
GetValidPlatform checks if the given OS and architecture combination is supported and returns the corresponding platform string if it is, or an error if it is not.
Types ¶
type ErrToolNotFound ¶
func (ErrToolNotFound) Error ¶
func (e ErrToolNotFound) Error() string
Error() returns a string containing the error message for the ErrToolNotFound struct.
Click to show internal directories.
Click to hide internal directories.