Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artifact ¶
type Artifact struct {
GisServiceCode string
IarServiceCode string
ImageID string
// contains filtered or unexported fields
}
Artifact ...
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder ...
type Config ¶
type Config struct {
common.PackerConfig `mapstructure:",squash"`
Comm communicator.Config `mapstructure:",squash"`
// API Key for IIJ GIO P2 (required)
// (https://manual.iij.jp/p2/pubapi/59950199.html)
APIAccessKey string `mapstructure:"access_key_id"`
APISecretKey string `mapstructure:"secret_access_key"`
// Servicecode of the P2 contract used to built and images save in (required)
GisServiceCode string `mapstructure:"gis_service_code"`
// System storage type of built image (required)
// List of storage types: https://manual.iij.jp/p2/pubapi/59949023.html
StorageType string `mapstructure:"storage_type"`
// Virtual Server type use to build image (optional. default: "VB0-1")
VMType string `mapstructure:"server_type"`
// Another image built images are based on (optional)
BaseImage struct {
GisServiceCode string `mapstructure:"gis_service_code"`
IarServiceCode string `mapstructure:"iar_service_code"`
ImageID string `mapstructure:"image_id"`
} `mapstructure:"base_image"`
// SSH connection settings
// Public key ** for "root" ** (optional)
RootSSHKey string `mapstructure:"root_ssh_key"`
// The label set to built image (optional)
Label string `mapstructure:"label"`
// If this is set true, P2 PUB builder connects VMs through Standard Private Network. (optional)
// By default, this builder uses the Internet.
DisableGlobalAddress bool `mapstructure:"disable_global_address"`
// contains filtered or unexported fields
}
Config ...
Source Files
¶
Click to show internal directories.
Click to hide internal directories.