package
0.8.6
Repository: https://github.com/andrewsomething/packer.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

ChooseString returns the first non-empty value.
DownloadableURL processes a URL that may also be a file path and returns a completely valid URL.
HashForType returns the Hash implementation for the given string type, or nil if the type is not supported.
MultistepDebugFn will return a proper multistep.DebugPauseFn to use for debugging if you're using multistep in your builder.
NewDownloadClient returns a new DownloadClient for the given configuration.
ScrubConfig is a helper that returns a string representation of any struct with the given values stripped out.

# Structs

A DownloadClient helps download, verify checksums, etc.
DownloadConfig is the configuration given to instantiate a new download instance.
HTTPDownloader is an implementation of Downloader that downloads files over HTTP.
PackerConfig is a struct that contains the configuration keys that are sent by packer, properly tagged already so mapstructure can load them.
StepCreateFloppy will create a floppy disk with the given files.
StepDownload downloads a remote file using the download client within this package.
StepProvision runs the provisioners.

# Interfaces

A downloader is responsible for actually taking a remote URL and downloading it.