Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PartitionState ¶
type PartitionState struct { Mounted bool `yaml:"mounted" json:"mounted"` Name string `yaml:"name" json:"name"` Label string `yaml:"label" json:"label"` MountPoint string `yaml:"mount_point" json:"mount_point"` SizeBytes uint64 `yaml:"size_bytes" json:"size_bytes"` Type string `yaml:"type" json:"type"` IsReadOnly bool `yaml:"read_only" json:"read_only"` Found bool `yaml:"found" json:"found"` UUID string `yaml:"uuid" json:"uuid"` // This would be volume UUID on macOS, PartUUID on linux, empty on Windows }
type Runtime ¶
type Runtime struct { UUID string `yaml:"uuid" json:"uuid"` Persistent PartitionState `yaml:"persistent" json:"persistent"` Recovery PartitionState `yaml:"recovery" json:"recovery"` OEM PartitionState `yaml:"oem" json:"oem"` State PartitionState `yaml:"state" json:"state"` BootState Boot `yaml:"boot" json:"boot"` }
func NewRuntime ¶
Click to show internal directories.
Click to hide internal directories.