Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// DiskPrefixToIgnore disks with this prefix will not be reported and wiped.
DiskPrefixToIgnore = "ram"
)
Functions ¶
Types ¶
type Disk ¶
type Disk struct { // Device the name of the disk device visible from kernel side, e.g. sda Device string // Partitions to create on this disk, order is preserved Partitions []Partition }
Disk is a physical Disk
type Disks ¶ added in v0.9.6
type Disks struct {
// contains filtered or unexported fields
}
func NewDisks ¶ added in v0.9.6
func NewDisks(log *zap.SugaredLogger) *Disks
type Filesystem ¶ added in v0.8.1
type Filesystem struct {
// contains filtered or unexported fields
}
func New ¶ added in v0.8.1
func New(log *zap.SugaredLogger, chroot string, config models.ModelsV1FilesystemLayoutResponse) *Filesystem
func (*Filesystem) CreateFSTab ¶ added in v0.8.1
func (f *Filesystem) CreateFSTab() error
func (*Filesystem) Run ¶ added in v0.8.1
func (f *Filesystem) Run() error
func (*Filesystem) Umount ¶ added in v0.8.1
func (f *Filesystem) Umount()
Click to show internal directories.
Click to hide internal directories.