Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct {
PackerConfig common.PackerConfig `mapstructure:",squash"`
McpRegion string `mapstructure:"mcp_region"`
McpUser string `mapstructure:"mcp_user"`
McpPassword string `mapstructure:"mcp_password"`
DatacenterID string `mapstructure:"datacenter"`
TargetImageName string `mapstructure:"target_image"`
OVFPackagePrefix string `mapstructure:"ovf_package_prefix"`
}
Settings represents the settings for the customer image export post-processor.
func (*Settings) GetCommunicatorConfig ¶
func (settings *Settings) GetCommunicatorConfig() *communicator.Config
GetCommunicatorConfig retrieves the Packer communicator configuration (if available) for the plugin.
func (*Settings) GetMCPPassword ¶
GetMCPPassword retrieves the Cloud Control password.
func (*Settings) GetMCPUser ¶
GetMCPUser retrieves the Cloud Control user name.
func (*Settings) GetPackerConfig ¶
func (settings *Settings) GetPackerConfig() *common.PackerConfig
GetPackerConfig retrieves the common Packer configuration for the plugin.
Click to show internal directories.
Click to hide internal directories.