openstack

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 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(privateKey *machinessh.PrivateKey) cloud.Provider

New returns a openstack provider

Types

type Config added in v0.0.2

type Config struct {
	// Auth details
	IdentityEndpoint string `json:"identityEndpoint"`
	Username         string `json:"username"`
	Password         string `json:"password"`
	DomainName       string `json:"domainName"`
	TenantName       string `json:"tenantName"`
	TokenID          string `json:"tokenId"`

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

Jump to

Keyboard shortcuts

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