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"`
CommunicatorConfig communicator.Config `mapstructure:",squash"`
McpRegion string `mapstructure:"mcp_region"`
McpUser string `mapstructure:"mcp_user"`
McpPassword string `mapstructure:"mcp_password"`
DatacenterID string `mapstructure:"datacenter"`
NetworkDomainName string `mapstructure:"networkdomain"`
VLANName string `mapstructure:"vlan"`
SourceImage string `mapstructure:"source_image"`
TargetImage string `mapstructure:"target_image"`
InitialAdminPassword string `mapstructure:"initial_admin_password"`
UsePrivateIPv4 bool `mapstructure:"use_private_ipv4"`
ClientIP string `mapstructure:"client_ip"`
UniquenessKey string
ServerName string
}
Settings represents the settings for the customer image builder.
func (*Settings) GetCommunicatorConfig ¶ added in v0.1.2
func (settings *Settings) GetCommunicatorConfig() *communicator.Config
GetCommunicatorConfig retrieves the Packer communicator configuration for the plugin.
func (*Settings) GetMCPPassword ¶ added in v0.1.2
GetMCPPassword retrieves the Cloud Control password.
func (*Settings) GetMCPUser ¶ added in v0.1.2
GetMCPUser retrieves the Cloud Control user name.
func (*Settings) GetPackerConfig ¶ added in v0.1.2
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.