package
0.0.0-20250312152250-ea85ec9d2454
Repository: https://github.com/snapcore/snapd.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
MockAssetsCache mocks the listed assets in the boot assets cache by creating an empty file for each.
MockClassicWithModesDevice mocks a classic with modes device.
MockDevice implements boot.Device.
MockGadgetSeedSnap creates a seed snap representation of a gadget snap with given snap.yaml and a list of files.
MockNamedKernelSeedSnap creates a seed snap representation for a kernel snap with a given name and revision.
MockUC16Bootenv wraps a mock bootloader for UC16/18 boot env manipulation.
MockUC20Device mocks a UC with modes device.
MockUC20EnvRefExtractedKernelRunBootenv wraps a mock bootloader for UC20 run-mode boot env manipulation.
MockUC20RunBootenv wraps a mock bootloader for UC20 run-mode boot env manipulation.
MockUC20RunBootenvNotScript wraps a mock bootloader for UC20 run-mode boot env manipulation, for the case of not scriptable bootloader (i.e.
# Structs
Bootenv16 implements manipulating a UC16/18 boot env for testing.
RunBootenv20 implements manipulating a UC20 run-mode boot env for testing.
RunBootenvNotScript20 implements manipulating a UC20 run-mode boot env for testing, for the case of not scriptable bootloader (i.e.