Documentation ¶
Index ¶
- Constants
- func DoIt(device, volumeTag, fsType, clusterName string, minutes int) error
- func NormalizeDevice(device string) string
- type Volumizer
- func (v *Volumizer) AttachVolume(volume *ec2.Volume, device string) error
- func (v *Volumizer) AttachedVolume(clusterName, volumeTag, device *string) (*ec2.Volume, error)
- func (v *Volumizer) HasFilesystem(device, fstype string) (bool, error)
- func (v *Volumizer) MakeFilesystem(device, fstype string) error
- func (v *Volumizer) WaitForDevice(device string) error
- func (v *Volumizer) WaitForVolume(clusterName, volumeTag *string, minutes time.Duration) (*ec2.Volume, error)
Constants ¶
View Source
const ( Blkid = "blkid" Mkfs = "mkfs" )
Variables ¶
This section is empty.
Functions ¶
func NormalizeDevice ¶
Types ¶
type Volumizer ¶
type Volumizer struct {
// contains filtered or unexported fields
}
func NewVolumizer ¶
func (*Volumizer) AttachVolume ¶
func (*Volumizer) AttachedVolume ¶
func (*Volumizer) HasFilesystem ¶
func (*Volumizer) MakeFilesystem ¶
func (*Volumizer) WaitForDevice ¶
Click to show internal directories.
Click to hide internal directories.