Documentation ¶
Overview ¶
Package downloader is a wrapper for the equivalent Conftest package, which is itself mostly a wrapper for hashicorp/go-getter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Download ¶
func Download(ctx context.Context, destDir string, sourceUrl string, showMsg bool) (metadata.Metadata, error)
Download is used to download files from various sources.
Note that it handles just one url at a time even though the equivalent Conftest function can take a list of source urls.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.