Documentation
¶
Index ¶
- func CanFSCK(fs any) error
- func DevicesFSCK(ctx context.Context, fs any, dl subDeviceLister) error
- func DevicesFormated(ctx context.Context, fs any, dl subDeviceLister) (bool, error)
- func HasFSCK(fs any) bool
- func IsCapable(ctx context.Context, t string) bool
- func Types() []string
- type CanFSCKer
- type Ext2
- type Ext3
- type Ext4
- type FSCKer
- type I
- type IsCapabler
- type IsFormateder
- type MKFSer
- type T
- func (t T) IsFileBacked() bool
- func (t T) IsMultiDevice() bool
- func (t T) IsNetworked() bool
- func (t T) IsVirtual() bool
- func (t T) IsZero() bool
- func (t T) KillUsers(ctx context.Context, mnt string) error
- func (t T) Log() *plog.Logger
- func (t T) Mount(ctx context.Context, dev string, mnt string, options string) error
- func (t *T) SetLog(log *plog.Logger)
- func (t T) String() string
- func (t T) Type() string
- func (t T) Umount(ctx context.Context, mnt string) error
- type XFS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DevicesFormated ¶
Types ¶
type I ¶
type I interface {
String() string
Type() string
IsZero() bool
IsNetworked() bool
IsVirtual() bool
IsFileBacked() bool
IsMultiDevice() bool
Mount(context.Context, string, string, string) error
Umount(context.Context, string) error
KillUsers(context.Context, string) error
Log() *plog.Logger
SetLog(*plog.Logger)
}
type IsCapabler ¶
type IsCapabler interface {
IsCapable() bool
}
type IsFormateder ¶
type T ¶
type T struct {
// contains filtered or unexported fields
}
func (T) IsFileBacked ¶
func (T) IsMultiDevice ¶
func (T) IsNetworked ¶
Click to show internal directories.
Click to hide internal directories.