openstack

package
v0.0.0-...-7b24307 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New returns a openstack provider.

Types

type Config

type Config struct {
	IdentityEndpoint            string
	ApplicationCredentialID     string
	ApplicationCredentialSecret string
	Username                    string
	Password                    string
	DomainName                  string
	ProjectName                 string
	ProjectID                   string
	TokenID                     string
	Region                      string
	ComputeAPIVersion           string

	// Machine details
	Image                 string
	Flavor                string
	SecurityGroups        []string
	Network               string
	Networks              []string
	Subnet                string
	FloatingIPPool        string
	AvailabilityZone      string
	TrustDevicePath       bool
	RootDiskSizeGB        *int
	RootDiskVolumeType    string
	NodeVolumeAttachLimit *uint
	ServerGroup           string

	InstanceReadyCheckPeriod  time.Duration
	InstanceReadyCheckTimeout time.Duration

	Tags map[string]string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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