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 {
FileSystemType FileSystemType `json:",omitempty"`
MountPoint string `json:",omitempty"`
MinimumFreeBytes uint64 `json:",omitempty"`
}
Click to show internal directories.
Click to hide internal directories.