openstackimagemanagement

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2020 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	common.PackerConfig    `mapstructure:",squash"`
	openstack.AccessConfig `mapstructure:",squash"`

	Identifier   string `mapstructure:"identifier"`
	KeepReleases int    `mapstructure:"keep_releases"`
	// contains filtered or unexported fields
}

func (*Config) FlatMapstructure added in v0.0.2

func (*Config) FlatMapstructure() interface{ HCL2Spec() map[string]hcldec.Spec }

FlatMapstructure returns a new FlatConfig. FlatConfig is an auto-generated flat version of Config. Where the contents a fields with a `mapstructure:,squash` tag are bubbled up.

type FlatConfig added in v0.0.2

type FlatConfig struct {
	PackerBuildName             *string           `mapstructure:"packer_build_name" cty:"packer_build_name" hcl:"packer_build_name"`
	PackerBuilderType           *string           `mapstructure:"packer_builder_type" cty:"packer_builder_type" hcl:"packer_builder_type"`
	PackerDebug                 *bool             `mapstructure:"packer_debug" cty:"packer_debug" hcl:"packer_debug"`
	PackerForce                 *bool             `mapstructure:"packer_force" cty:"packer_force" hcl:"packer_force"`
	PackerOnError               *string           `mapstructure:"packer_on_error" cty:"packer_on_error" hcl:"packer_on_error"`
	PackerUserVars              map[string]string `mapstructure:"packer_user_variables" cty:"packer_user_variables" hcl:"packer_user_variables"`
	PackerSensitiveVars         []string          `mapstructure:"packer_sensitive_variables" cty:"packer_sensitive_variables" hcl:"packer_sensitive_variables"`
	Username                    *string           `mapstructure:"username" required:"true" cty:"username" hcl:"username"`
	UserID                      *string           `mapstructure:"user_id" cty:"user_id" hcl:"user_id"`
	Password                    *string           `mapstructure:"password" required:"true" cty:"password" hcl:"password"`
	IdentityEndpoint            *string           `mapstructure:"identity_endpoint" required:"true" cty:"identity_endpoint" hcl:"identity_endpoint"`
	TenantID                    *string           `mapstructure:"tenant_id" required:"false" cty:"tenant_id" hcl:"tenant_id"`
	TenantName                  *string           `mapstructure:"tenant_name" cty:"tenant_name" hcl:"tenant_name"`
	DomainID                    *string           `mapstructure:"domain_id" cty:"domain_id" hcl:"domain_id"`
	DomainName                  *string           `mapstructure:"domain_name" required:"false" cty:"domain_name" hcl:"domain_name"`
	Insecure                    *bool             `mapstructure:"insecure" required:"false" cty:"insecure" hcl:"insecure"`
	Region                      *string           `mapstructure:"region" required:"false" cty:"region" hcl:"region"`
	EndpointType                *string           `mapstructure:"endpoint_type" required:"false" cty:"endpoint_type" hcl:"endpoint_type"`
	CACertFile                  *string           `mapstructure:"cacert" required:"false" cty:"cacert" hcl:"cacert"`
	ClientCertFile              *string           `mapstructure:"cert" required:"false" cty:"cert" hcl:"cert"`
	ClientKeyFile               *string           `mapstructure:"key" required:"false" cty:"key" hcl:"key"`
	Token                       *string           `mapstructure:"token" required:"false" cty:"token" hcl:"token"`
	ApplicationCredentialName   *string           `` /* 127-byte string literal not displayed */
	ApplicationCredentialID     *string           `mapstructure:"application_credential_id" required:"false" cty:"application_credential_id" hcl:"application_credential_id"`
	ApplicationCredentialSecret *string           `` /* 133-byte string literal not displayed */
	Cloud                       *string           `mapstructure:"cloud" required:"false" cty:"cloud" hcl:"cloud"`
	Identifier                  *string           `mapstructure:"identifier" cty:"identifier" hcl:"identifier"`
	KeepReleases                *int              `mapstructure:"keep_releases" cty:"keep_releases" hcl:"keep_releases"`
}

FlatConfig is an auto-generated flat version of Config. Where the contents of a field with a `mapstructure:,squash` tag are bubbled up.

func (*FlatConfig) HCL2Spec added in v0.0.2

func (*FlatConfig) HCL2Spec() map[string]hcldec.Spec

HCL2Spec returns the hcl spec of a Config. This spec is used by HCL to read the fields of Config. The decoded values from this spec will then be applied to a FlatConfig.

type OpenStackPostProcessor

type OpenStackPostProcessor struct {
	// contains filtered or unexported fields
}

func (*OpenStackPostProcessor) ConfigSpec added in v0.0.2

func (p *OpenStackPostProcessor) ConfigSpec() hcldec.ObjectSpec

func (*OpenStackPostProcessor) Configure

func (p *OpenStackPostProcessor) Configure(raws ...interface{}) error

func (*OpenStackPostProcessor) PostProcess

func (p *OpenStackPostProcessor) PostProcess(ctx context.Context, ui packer.Ui, artifact packer.Artifact) (packer.Artifact, bool, bool, error)

Jump to

Keyboard shortcuts

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