Help us shape the future of Go! Take the 2026 Go Developer Survey

openstack

package
v0.7.23 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2018 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(configVarResolver *providerconfig.ConfigVarResolver) cloud.Provider

New returns a openstack provider

Types

type Config added in v0.0.2

type Config struct {
	IdentityEndpoint string
	Username         string
	Password         string
	DomainName       string
	TenantName       string
	TokenID          string

	// Machine details
	Image            string
	Flavor           string
	SecurityGroups   []string
	Network          string
	Subnet           string
	FloatingIPPool   string
	AvailabilityZone string
	Region           string

	Tags map[string]string
}

type RawConfig added in v0.2.0

type RawConfig struct {
	// Auth details
	IdentityEndpoint providerconfig.ConfigVarString `json:"identityEndpoint"`
	Username         providerconfig.ConfigVarString `json:"username"`
	Password         providerconfig.ConfigVarString `json:"password"`
	DomainName       providerconfig.ConfigVarString `json:"domainName"`
	TenantName       providerconfig.ConfigVarString `json:"tenantName"`
	TokenID          providerconfig.ConfigVarString `json:"tokenId"`

	// Machine details
	Image            providerconfig.ConfigVarString   `json:"image"`
	Flavor           providerconfig.ConfigVarString   `json:"flavor"`
	SecurityGroups   []providerconfig.ConfigVarString `json:"securityGroups"`
	Network          providerconfig.ConfigVarString   `json:"network"`
	Subnet           providerconfig.ConfigVarString   `json:"subnet"`
	FloatingIPPool   providerconfig.ConfigVarString   `json:"floatingIpPool"`
	AvailabilityZone providerconfig.ConfigVarString   `json:"availabilityZone"`
	Region           providerconfig.ConfigVarString   `json:"region"`
	Tags             map[string]string                `json:"tags"`
}

Jump to

Keyboard shortcuts

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