config

package
v0.1.3-beta8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2017 License: Apache-2.0 Imports: 6 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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"`
	DownloadToLocalDirectory string `mapstructure:"download_to_local_directory"`
}

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

func (settings *Settings) GetMCPPassword() string

GetMCPPassword retrieves the Cloud Control password.

func (*Settings) GetMCPUser

func (settings *Settings) GetMCPUser() string

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.

func (*Settings) Validate

func (settings *Settings) Validate() (err error)

Validate determines if the settings is valid.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL