Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrBadFilesystem = errors.New("filesystem is not of the correct type")
)
View Source
var (
ErrBadSgdiskOutput = errors.New("sgdisk had unexpected output")
)
View Source
var (
ErrBadVolume = errors.New("volume is not of the correct type")
)
Functions ¶
This section is empty.
Types ¶
type LuksDump ¶ added in v2.15.0
type LuksDump struct { Config struct { Flags []string `json:"flags"` } `json:"config"` }
type PartitionList ¶
Allow sorting partitions (must be a stable sort) so partition number 0 happens last regardless of where it was in the list.
func (PartitionList) Len ¶
func (p PartitionList) Len() int
func (PartitionList) Less ¶
func (p PartitionList) Less(i, j int) bool
We only care about partitions with number 0 being considered the "largest" elements so they are processed last.
func (PartitionList) Swap ¶
func (p PartitionList) Swap(i, j int)
type Pin ¶ added in v2.4.0
https://github.com/latchset/clevis/blob/master/README.md#pin-shamir-secret-sharing
func (Pin) MarshalJSON ¶ added in v2.4.0
Click to show internal directories.
Click to hide internal directories.