volumize

package
v1.10.6-4 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Blkid = "/usr/sbin/blkid"
	Mkfs  = "/usr/sbin/mkfs"
)

Variables

This section is empty.

Functions

func DoIt

func DoIt(device, internalDevice, volumeTag, fsType, clusterName string, minutes int) error

Types

type Volumizer

type Volumizer struct {
	// contains filtered or unexported fields
}

func NewVolumizer

func NewVolumizer(sess *session.Session, availabilityZone, instanceID string) *Volumizer

func (*Volumizer) AttachVolume

func (v *Volumizer) AttachVolume(volume *ec2.Volume, device string) error

func (*Volumizer) HasFilesystem

func (v *Volumizer) HasFilesystem(device, fstype string) (bool, error)

func (*Volumizer) MakeFilesystem

func (v *Volumizer) MakeFilesystem(device, fstype string) error

func (*Volumizer) WaitForDevice

func (v *Volumizer) WaitForDevice(device string) error

func (*Volumizer) WaitForVolume

func (v *Volumizer) WaitForVolume(clusterName, volumeTag *string, minutes time.Duration) (*ec2.Volume, error)

Jump to

Keyboard shortcuts

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