dobs

package
v0.5.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

	// 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, for example:
	//
	//     /dev/disk/by-id/scsi-0DO_Volume_volume-nyc1-01
	//
	// Please see https://goo.gl/MwReS6 for more information.
	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