osbase/

directory
v0.0.0-...-5fb8a3f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2024 License: Apache-2.0

README

//osbase

osbase is our SDK for building an operating system. It contains low-level building blocks for making a "mini OS" such as ktest, the cloud agent or Monogon OS itself.

Directories

Path Synopsis
Package bootparam implements encoding and decoding of Linux kernel command lines as documented in https://docs.kernel.org/admin-guide/kernel-parameters.html
Package bootparam implements encoding and decoding of Linux kernel command lines as documented in https://docs.kernel.org/admin-guide/kernel-parameters.html
ref
Package ref provides the reference implementation for kernel command line parsing as present in the Linux kernel.
Package ref provides the reference implementation for kernel command line parsing as present in the Linux kernel.
Package bringup implements a simple wrapper which configures all default mounts, logging and the corresponding forwarders to tty0 and ttyS0.
Package bringup implements a simple wrapper which configures all default mounts, logging and the corresponding forwarders to tty0 and ttyS0.
build
fwprune
fwprune is a buildsystem utility that filters linux-firmware repository contents to include only files required by the built-in kernel modules, that are specified in modules.builtin.modinfo.
fwprune is a buildsystem utility that filters linux-firmware repository contents to include only files required by the built-in kernel modules, that are specified in modules.builtin.modinfo.
genosrelease
genosrelease provides rudimentary support to generate os-release files following the freedesktop spec from arguments and stamping
genosrelease provides rudimentary support to generate os-release files following the freedesktop spec from arguments and stamping
mkerofs
mkerofs takes a specification in the form of a prototext file (see fsspec next to this) and assembles an EROFS filesystem according to it.
mkerofs takes a specification in the form of a prototext file (see fsspec next to this) and assembles an EROFS filesystem according to it.
mkimage
mkimage is a tool to generate node disk images.
mkimage is a tool to generate node disk images.
mkimage/osimage
This package provides self-contained implementation used to generate Metropolis disk images.
This package provides self-contained implementation used to generate Metropolis disk images.
mkpayload
mkpayload is an objcopy wrapper that builds EFI unified kernel images.
mkpayload is an objcopy wrapper that builds EFI unified kernel images.
mkucode
This assembles standalone microcode files into the format expected by the Linux microcode loader.
This assembles standalone microcode files into the format expected by the Linux microcode loader.
mkverity
This package implements a command line tool that creates dm-verity hash images at a selected path, given an existing data image.
This package implements a command line tool that creates dm-verity hash images at a selected path, given an existing data image.
Package cmd contains helpers that abstract away the chore of starting new processes, tracking their lifetime, inspecting their output, etc.
Package cmd contains helpers that abstract away the chore of starting new processes, tracking their lifetime, inspecting their output, etc.
package devicemapper is a thin wrapper for the devicemapper ioctl API.
package devicemapper is a thin wrapper for the devicemapper ioctl API.
Package efivarfs provides functions to read and manipulate UEFI runtime variables.
Package efivarfs provides functions to read and manipulate UEFI runtime variables.
Package event defines and implements Event Values, a mechanism in which multiple consumers can watch a value for updates in a reliable way.
Package event defines and implements Event Values, a mechanism in which multiple consumers can watch a value for updates in a reliable way.
Package fat32 implements a writer for the FAT32 filesystem.
Package fat32 implements a writer for the FAT32 filesystem.
Package fsquota provides a simplified interface to interact with Linux's filesystem qouta API.
Package fsquota provides a simplified interface to interact with Linux's filesystem qouta API.
quotactl
Package quotactl implements a low-level wrapper around the modern portion of Linux's quotactl() syscall.
Package quotactl implements a low-level wrapper around the modern portion of Linux's quotactl() syscall.
Package gpt implements reading and writing GUID Partition Tables as specified in the UEFI Specification.
Package gpt implements reading and writing GUID Partition Tables as specified in the UEFI Specification.
Package jsonpatch contains data structures and encoders for JSON Patch (RFC 6902) and JSON Pointers (RFC 6901)
Package jsonpatch contains data structures and encoders for JSON Patch (RFC 6902) and JSON Pointers (RFC 6901)
Package kexec allows executing subsequent kernels from Linux userspace.
Package kexec allows executing subsequent kernels from Linux userspace.
Package logbuffer implements a fixed-size in-memory ring buffer for line-separated logs.
Package logbuffer implements a fixed-size in-memory ring buffer for line-separated logs.
Package logtree implements a tree-shaped logger for debug events.
Package logtree implements a tree-shaped logger for debug events.
unraw
Package unraw implements a facility to convert raw logs from external sources into leveled logs.
Package unraw implements a facility to convert raw logs from external sources into leveled logs.
Package loop implements an interface to configure Linux loop devices.
Package loop implements an interface to configure Linux loop devices.
Package msguid provides functions to convert UUIDs/GUIDs to and from Microsoft's idiosyncratic "mixed-endian" format.
Package msguid provides functions to convert UUIDs/GUIDs to and from Microsoft's idiosyncratic "mixed-endian" format.
net
dns
Package dns provides a DNS server for resolving services against.
Package dns provides a DNS server for resolving services against.
dns/forward
Package forward implements a forwarding proxy.
Package forward implements a forwarding proxy.
dns/forward/cache
Package cache implements a cache.
Package cache implements a cache.
dns/forward/proxy
Package proxy implements a forwarding proxy.
Package proxy implements a forwarding proxy.
dns/forward/up
Package up is used to run a function for some duration.
Package up is used to run a function for some duration.
dns/kubernetes
Package kubernetes provides the kubernetes backend.
Package kubernetes provides the kubernetes backend.
dns/kubernetes/object
Package object holds functions that convert the objects from the k8s API in to a more memory efficient structures.
Package object holds functions that convert the objects from the k8s API in to a more memory efficient structures.
Package nvme provides methods and data structures for issuing commands to device speaking the NVMe protocol.
Package nvme provides methods and data structures for issuing commands to device speaking the NVMe protocol.
package pki implements an x509 PKI (Public Key Infrastructure) system backed on etcd.
package pki implements an x509 PKI (Public Key Infrastructure) system backed on etcd.
The pstore package provides functions for interfacing with the Linux kernel's pstore (persistent storage) system.
The pstore package provides functions for interfacing with the Linux kernel's pstore (persistent storage) system.
INCITS 502 Revision 19 / SPC-5 R19
INCITS 502 Revision 19 / SPC-5 R19
Package smbios implements parsing of SMBIOS data structures.
Package smbios implements parsing of SMBIOS data structures.
Package socksproxy implements a limited subset of the SOCKS 5 (RFC1928) protocol in the form of a pluggable Proxy object.
Package socksproxy implements a limited subset of the SOCKS 5 (RFC1928) protocol in the form of a pluggable Proxy object.
Implementation included in this file was written with the aim of easing integration with the interface exposed at /sys/class/block.
Implementation included in this file was written with the aim of easing integration with the interface exposed at /sys/class/block.
test
ktest
ktest is a test launcher for running tests inside a custom kernel and passes the results back out.
ktest is a test launcher for running tests inside a custom kernel and passes the results back out.
ktest/init
ktestinit is an init designed to run inside a lightweight VM for running tests in there.
ktestinit is an init designed to run inside a lightweight VM for running tests in there.
launch
launch implements test harnesses for running qemu VMs from tests.
launch implements test harnesses for running qemu VMs from tests.
tpm
eventlog
Taken and pruned from go-attestation under Apache 2.0
Taken and pruned from go-attestation under Apache 2.0
eventlog/internal
Taken from go-attestation under Apache 2.0
Taken from go-attestation under Apache 2.0
This package implements the minimum of functionality needed to generate and map dm-verity images.
This package implements the minimum of functionality needed to generate and map dm-verity images.
Package watchdog provides access to hardware watchdogs.
Package watchdog provides access to hardware watchdogs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL