Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncryptionKeySet ¶
type EncryptionKeySet struct { Key secboot.EncryptionKey RecoveryKey secboot.RecoveryKey }
EncryptionKeySet is a set of encryption keys.
type InstalledSystemSideData ¶
type InstalledSystemSideData struct { // KeysForRoles contains key sets for the relevant structure roles. KeysForRoles map[string]*EncryptionKeySet }
InstalledSystemSideData carries side data of an installed system, eg. secrets to access its partitions.
func Run ¶
func Run(model gadget.Model, gadgetRoot, kernelRoot, device string, options Options, observer gadget.ContentObserver) (*InstalledSystemSideData, error)
Run bootstraps the partitions of a device, by either creating missing ones or recreating installed ones.
Click to show internal directories.
Click to hide internal directories.