digitalocean

package
v0.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name is the name of the driver
	Name = "digitalocean"

	// InstanceIDFieldRegion is the key used to retrive the region from the
	// instance id map
	InstanceIDFieldRegion = "region"

	// InstanceIDFieldName is the key used to retrive the name from the instance
	// id map
	InstanceIDFieldName = "name"

	// VolumePrefix is the value that every DO volume appears with DigitalOcean
	// volumes are are found using disk/by-id, ex:
	// /dev/disk/by-id/scsi-0DO_Volume_volume-nyc1-01 See
	// https://www.digitalocean.com/community/tutorials/how-to-use-block-storage-on-digitalocean#preparing-volumes-for-use-in-linux
	VolumePrefix = "scsi-0DO_Volume_"

	// ConfigDOToken is the key for the token in the config file
	ConfigDOToken = Name + ".token"

	// ConfigDORegion is the key for the region in the config file
	ConfigDORegion = Name + ".region"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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