volumize

package
v1.14.4-2 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Blkid = "blkid"
	Mkfs  = "mkfs"
)

Variables

This section is empty.

Functions

func DoIt

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

func NormalizeDevice

func NormalizeDevice(device string) string

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) AttachedVolume

func (v *Volumizer) AttachedVolume(clusterName, volumeTag, device *string) (*ec2.Volume, 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