Documentation

Index

Constants

View Source
const (
	EBS_ProviderType = storage.ProviderType("ebs")

	// The volume type (default standard):
	//   "gp2" for General Purpose (SSD) volumes
	//   "io1" for Provisioned IOPS (SSD) volumes,
	//   "standard" for Magnetic volumes.
	EBS_VolumeType = "volume-type"

	// The number of I/O operations per second (IOPS) per GiB
	// to provision for the volume. Only valid for Provisioned
	// IOPS (SSD) volumes.
	EBS_IOPS = "iops"

	// Specifies whether the volume should be encrypted.
	EBS_Encrypted = "encrypted"
)

Variables

View Source
var AssignPrivateIPAddress = assignPrivateIPAddress

    AssignPrivateIPAddress is a wrapper around ec2Inst.AssignPrivateIPAddresses.

    Functions

    func NewStorage

    func NewStorage(bucket *s3.Bucket) storage.Storage

    Types

    type AmazonRenderer

    type AmazonRenderer struct{}

    func (AmazonRenderer) EncodeUserdata

    func (AmazonRenderer) EncodeUserdata(udata []byte, os jujuos.OSType) ([]byte, error)