Documentation
¶
Index ¶
Constants ¶
View Source
const ( FileSystemTypeExt4 = 0 FileSystemTypeVfat = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystemType ¶
type FileSystemType uint
func (FileSystemType) MarshalText ¶ added in v0.4.0
func (fileSystemType FileSystemType) MarshalText() ([]byte, error)
func (*FileSystemType) Set ¶ added in v0.4.0
func (fileSystemType *FileSystemType) Set(value string) error
func (FileSystemType) String ¶ added in v0.4.0
func (fileSystemType FileSystemType) String() string
func (*FileSystemType) UnmarshalText ¶ added in v0.4.0
func (fileSystemType *FileSystemType) UnmarshalText(text []byte) error
type Partition ¶
type Partition struct {
BytesPerInode types.Bytes `json:",omitempty"`
FileSystemLabel string `json:",omitempty"`
FileSystemType FileSystemType `json:",omitempty"`
MountPoint string `json:",omitempty"`
MinimumBytes uint64 `json:",omitempty"`
MinimumFreeBytes uint64 `json:",omitempty"`
ReservedBlocksPercentage types.Percentage `json:",omitempty"`
RootGroupId types.GroupId `json:",omitempty"`
RootUserId types.UserId `json:",omitempty"`
}
type StorageLayout ¶
type StorageLayout struct {
BootDriveLayout []Partition `json:",omitempty"`
ExtraMountPointsBasename string `json:",omitempty"`
Encrypt bool `json:",omitempty"`
UseKexec bool `json:",omitempty"`
}
func (*StorageLayout) Equal ¶ added in v0.8.0
func (left *StorageLayout) Equal(right *StorageLayout) bool
Click to show internal directories.
Click to hide internal directories.