Documentation ¶
Index ¶
- Constants
- func DoIt(device, volumeTag, fsType, mountPoint, clusterName string, minutes int) error
- func EnsureFilesystemsMounted() error
- func NormalizeDevice(device string) string
- func PersistFilesystem(device, fsType, mountPoint, fstabPath string) error
- 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" Fstab = "/etc/fstab" )
Variables ¶
This section is empty.
Functions ¶
func EnsureFilesystemsMounted ¶
func EnsureFilesystemsMounted() error
func NormalizeDevice ¶
func PersistFilesystem ¶
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.