Versions in this module Expand all Collapse all v1 v1.3.2 Oct 29, 2018 Changes in this version + const BuilderID + type Artifact struct + ServerImage *ncloud.ServerImage + func (*Artifact) BuilderId() string + func (a *Artifact) Destroy() error + func (a *Artifact) Files() []string + func (a *Artifact) Id() string + func (a *Artifact) State(name string) interface{} + func (a *Artifact) String() string + type Builder struct + func (b *Builder) Cancel() + func (b *Builder) Prepare(raws ...interface{}) ([]string, error) + func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packer.Artifact, error) + type Config struct + AccessControlGroupConfigurationNo string + AccessKey string + BlockStorageSize int + Comm communicator.Config + MemberServerImageNo string + Region string + SecretKey string + ServerImageDescription string + ServerImageName string + ServerImageProductCode string + ServerProductCode string + UserData string + UserDataFile string + func NewConfig(raws ...interface{}) (*Config, []string, error) + type LoginKey struct + KeyName string + PrivateKey string + type StepCreateBlockStorageInstance struct + Config *Config + Conn *ncloud.Conn + CreateBlockStorageInstance func(serverInstanceNo string) (string, error) + Error func(e error) + Say func(message string) + func NewStepCreateBlockStorageInstance(conn *ncloud.Conn, ui packer.Ui, config *Config) *StepCreateBlockStorageInstance + func (s *StepCreateBlockStorageInstance) Cleanup(state multistep.StateBag) + func (s *StepCreateBlockStorageInstance) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepCreateLoginKey struct + Conn *ncloud.Conn + CreateLoginKey func() (*LoginKey, error) + Error func(e error) + Say func(message string) + func NewStepCreateLoginKey(conn *ncloud.Conn, ui packer.Ui) *StepCreateLoginKey + func (s *StepCreateLoginKey) Cleanup(state multistep.StateBag) + func (s *StepCreateLoginKey) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepCreatePublicIPInstance struct + Config *Config + Conn *ncloud.Conn + CreatePublicIPInstance func(serverInstanceNo string) (*ncloud.PublicIPInstance, error) + Error func(e error) + Say func(message string) + WaiterAssociatePublicIPToServerInstance func(serverInstanceNo string, publicIP string) error + func NewStepCreatePublicIPInstance(conn *ncloud.Conn, ui packer.Ui, config *Config) *StepCreatePublicIPInstance + func (s *StepCreatePublicIPInstance) Cleanup(state multistep.StateBag) + func (s *StepCreatePublicIPInstance) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepCreateServerImage struct + Config *Config + Conn *ncloud.Conn + CreateServerImage func(serverInstanceNo string) (*ncloud.ServerImage, error) + Error func(e error) + Say func(message string) + func NewStepCreateServerImage(conn *ncloud.Conn, ui packer.Ui, config *Config) *StepCreateServerImage + func (*StepCreateServerImage) Cleanup(multistep.StateBag) + func (s *StepCreateServerImage) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepCreateServerInstance struct + CheckServerInstanceStatusIsRunning func(serverInstanceNo string) error + Config *Config + Conn *ncloud.Conn + CreateServerInstance func(loginKeyName string, zoneNo string, feeSystemTypeCode string) (string, error) + Error func(e error) + Say func(message string) + func NewStepCreateServerInstance(conn *ncloud.Conn, ui packer.Ui, config *Config) *StepCreateServerInstance + func (s *StepCreateServerInstance) Cleanup(state multistep.StateBag) + func (s *StepCreateServerInstance) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepDeleteBlockStorageInstance struct + Config *Config + Conn *ncloud.Conn + DeleteBlockStorageInstance func(blockStorageInstanceNo string) error + Error func(e error) + Say func(message string) + func NewStepDeleteBlockStorageInstance(conn *ncloud.Conn, ui packer.Ui, config *Config) *StepDeleteBlockStorageInstance + func (*StepDeleteBlockStorageInstance) Cleanup(multistep.StateBag) + func (s *StepDeleteBlockStorageInstance) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepGetRootPassword struct + Conn *ncloud.Conn + Error func(e error) + GetRootPassword func(serverInstanceNo string, privateKey string) (string, error) + Say func(message string) + func NewStepGetRootPassword(conn *ncloud.Conn, ui packer.Ui) *StepGetRootPassword + func (*StepGetRootPassword) Cleanup(multistep.StateBag) + func (s *StepGetRootPassword) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepStopServerInstance struct + Conn *ncloud.Conn + Error func(e error) + Say func(message string) + StopServerInstance func(serverInstanceNo string) error + func NewStepStopServerInstance(conn *ncloud.Conn, ui packer.Ui) *StepStopServerInstance + func (*StepStopServerInstance) Cleanup(multistep.StateBag) + func (s *StepStopServerInstance) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepTerminateServerInstance struct + Conn *ncloud.Conn + Error func(e error) + Say func(message string) + TerminateServerInstance func(serverInstanceNo string) error + func NewStepTerminateServerInstance(conn *ncloud.Conn, ui packer.Ui) *StepTerminateServerInstance + func (*StepTerminateServerInstance) Cleanup(multistep.StateBag) + func (s *StepTerminateServerInstance) Run(_ context.Context, state multistep.StateBag) multistep.StepAction + type StepValidateTemplate struct + Config *Config + Conn *ncloud.Conn + Error func(e error) + FeeSystemTypeCode string + Say func(message string) + Validate func() error + func NewStepValidateTemplate(conn *ncloud.Conn, ui packer.Ui, config *Config) *StepValidateTemplate + func (s *StepValidateTemplate) Cleanup(multistep.StateBag) + func (s *StepValidateTemplate) Run(_ context.Context, state multistep.StateBag) multistep.StepAction