package
0.12.3
Repository: https://github.com/prasannakumarik25/https-github.com-mavrick202-terraformsingleinstance.git
Documentation: pkg.go.dev
# Functions
ConfigDir returns the configuration directory for Packer.
ConfigFile returns the default path to the configuration file.
ConfigTmpDir returns the configuration tmp directory for Packer.
MultiErrorAppend is a helper function that will append more errors onto a MultiError in order to create a larger multi-error.
NewCore creates a new Core.
TestBuilder sets the builder with the name n to the component finder and returns the mock.
No description provided by the author
No description provided by the author
TestPostProcessor sets the prov.
TestProvisioner sets the prov.
No description provided by the author
# Constants
This is the key in the configuration that is set to the type of the builder that is run.
This is the key in configurations that is set to the name of the build.
CmdDisconnect is a sentinel value to indicate a RemoteCmd exited because the remote side disconnected us.
This is the key in configurations that is set to "true" when Packer debugging is enabled.
This is the key in configurations that is set to "true" when Packer force build is enabled.
This is the hook that should be fired for provisioners to run.
This key determines what to do when a normal multistep step fails - "cleanup" - run cleanup steps - "abort" - exit without cleanup - "ask" - ask the user.
TemplatePathKey is the path to the template that configured this build.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This key contains a map[string]string of the user variables for template processing.
# Structs
The BasicUI is a UI that reads and writes from a standard Go reader and writer.
ColoredUi is a UI that is colored using terminal colors.
ComponentFinder is a struct that contains the various function pointers necessary to look up components of Packer such as builders, commands, etc.
Core is the main executor of Packer.
CoreConfig is the structure for initializing a new Core.
A Hook implementation that dispatches based on an internal mapping.
FileCache implements a Cache by caching the data directly to a cache directory.
MachineReadableUi is a UI that only outputs machine-readable output to the given Writer.
MockArtifact is an implementation of Artifact that can be used for tests.
MockBuilder is an implementation of Builder that can be used for tests.
MockCommunicator is a valid Communicator implementation that can be used for tests.
MockHook is an implementation of Hook that can be used for tests.
MockPostProcessor is an implementation of PostProcessor that can be used for tests.
MockProvisioner is an implementation of Provisioner that can be used for tests.
MultiError is an error type to track multiple errors.
PausedProvisioner is a Provisioner implementation that pauses before the provisioner is actually run.
A Hook implementation that runs the given provisioners.
RemoteCmd represents a remote command being prepared or run.
TargettedUi is a UI that wraps another UI implementation and modifies the output to indicate a specific target.
# Interfaces
An Artifact is the result of a build, and is the metadata that documents what a builder actually created.
A Build represents a single job within Packer that is responsible for building some machine image artifact.
Implementers of Builder are responsible for actually building images on some platform given some configuration.
Cache implements a caching interface where files can be stored for re-use between multiple runs.
A Communicator is the interface used to communicate with the machine that exists that will eventually be packaged into an image.
A Hook is used to hook into an arbitrarily named location in a build, allowing custom behavior to run at certain points along a build.
A PostProcessor is responsible for taking an artifact of a build and doing some sort of post-processing to turn this into another artifact.
A provisioner is responsible for installing and configuring software on a machine prior to building the actual image.
The Ui interface handles all communication for Packer with the outside world.
# Type aliases
The function type used to lookup Builder implementations.
The function type used to lookup Hook implementations.
The function type used to lookup PostProcessor implementations.
The function type used to lookup Provisioner implementations.
No description provided by the author