Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { common.PackerConfig `mapstructure:",squash"` // Bootstrapping Bootstrap bool `mapstructure:"bootstrap"` Version string `mapstructure:"version"` BootstrapCommand string `mapstructure:"bootstrap_command"` PreventBootstrapSudo bool `mapstructure:"prevent_bootstrap_sudo"` // Modules ModuleDirs []ModuleDir `mapstructure:"module_dirs"` // Execution Module string `mapstructure:"module"` WorkingDirectory string `mapstructure:"working_directory"` Params map[string]string `mapstructure:"params"` ExecuteCommand string `mapstructure:"execute_command"` PreventSudo bool `mapstructure:"prevent_sudo"` // contains filtered or unexported fields }
Config for Converge provisioner
type FlatConfig ¶
type FlatConfig struct { PackerBuildName *string `mapstructure:"packer_build_name" cty:"packer_build_name" hcl:"packer_build_name"` PackerBuilderType *string `mapstructure:"packer_builder_type" cty:"packer_builder_type" hcl:"packer_builder_type"` PackerCoreVersion *string `mapstructure:"packer_core_version" cty:"packer_core_version" hcl:"packer_core_version"` PackerDebug *bool `mapstructure:"packer_debug" cty:"packer_debug" hcl:"packer_debug"` PackerForce *bool `mapstructure:"packer_force" cty:"packer_force" hcl:"packer_force"` PackerOnError *string `mapstructure:"packer_on_error" cty:"packer_on_error" hcl:"packer_on_error"` PackerUserVars map[string]string `mapstructure:"packer_user_variables" cty:"packer_user_variables" hcl:"packer_user_variables"` PackerSensitiveVars []string `mapstructure:"packer_sensitive_variables" cty:"packer_sensitive_variables" hcl:"packer_sensitive_variables"` Bootstrap *bool `mapstructure:"bootstrap" cty:"bootstrap" hcl:"bootstrap"` Version *string `mapstructure:"version" cty:"version" hcl:"version"` BootstrapCommand *string `mapstructure:"bootstrap_command" cty:"bootstrap_command" hcl:"bootstrap_command"` PreventBootstrapSudo *bool `mapstructure:"prevent_bootstrap_sudo" cty:"prevent_bootstrap_sudo" hcl:"prevent_bootstrap_sudo"` ModuleDirs []FlatModuleDir `mapstructure:"module_dirs" cty:"module_dirs" hcl:"module_dirs"` Module *string `mapstructure:"module" cty:"module" hcl:"module"` WorkingDirectory *string `mapstructure:"working_directory" cty:"working_directory" hcl:"working_directory"` Params map[string]string `mapstructure:"params" cty:"params" hcl:"params"` ExecuteCommand *string `mapstructure:"execute_command" cty:"execute_command" hcl:"execute_command"` PreventSudo *bool `mapstructure:"prevent_sudo" cty:"prevent_sudo" hcl:"prevent_sudo"` }
FlatConfig is an auto-generated flat version of Config. Where the contents of a field with a `mapstructure:,squash` tag are bubbled up.
type FlatModuleDir ¶
type FlatModuleDir struct { Source *string `mapstructure:"source" cty:"source" hcl:"source"` Destination *string `mapstructure:"destination" cty:"destination" hcl:"destination"` Exclude []string `mapstructure:"exclude" cty:"exclude" hcl:"exclude"` }
FlatModuleDir is an auto-generated flat version of ModuleDir. Where the contents of a field with a `mapstructure:,squash` tag are bubbled up.
type ModuleDir ¶
type ModuleDir struct { Source string `mapstructure:"source"` Destination string `mapstructure:"destination"` Exclude []string `mapstructure:"exclude"` }
ModuleDir is a directory to transfer to the remote system
func (*ModuleDir) FlatMapstructure ¶
FlatMapstructure returns a new FlatModuleDir. FlatModuleDir is an auto-generated flat version of ModuleDir. Where the contents a fields with a `mapstructure:,squash` tag are bubbled up.
type Provisioner ¶
type Provisioner struct {
// contains filtered or unexported fields
}
Provisioner for Converge
func (*Provisioner) ConfigSpec ¶
func (p *Provisioner) ConfigSpec() hcldec.ObjectSpec
func (*Provisioner) Prepare ¶
func (p *Provisioner) Prepare(raws ...interface{}) error
Click to show internal directories.
Click to hide internal directories.