internal/

directory
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: GPL-3.0

Directories

Path Synopsis
Package backup copies the state hlab keeps on a machine back to where hlab runs, and puts it back again.
Package backup copies the state hlab keeps on a machine back to where hlab runs, and puts it back again.
Package buildinfo carries version metadata stamped in at link time.
Package buildinfo carries version metadata stamped in at link time.
Package cfgkit holds what the host config and the printer config both need and neither should own: where a tool's home directory is, how a config path is chosen, how ~ is expanded, and how a duration is written in YAML.
Package cfgkit holds what the host config and the printer config both need and neither should own: where a tool's home directory is, how a config path is chosen, how ~ is expanded, and how a duration is written in YAML.
Package cli builds the hlab command tree.
Package cli builds the hlab command tree.
Package clikit holds the pieces of command plumbing that the host command tree and the printer command tree must agree on, so that main has one contract to honour whichever half a command came from.
Package clikit holds the pieces of command plumbing that the host command tree and the printer command tree must agree on, so that main has one contract to honour whichever half a command came from.
Package config loads the hlab configuration file and turns it into a resolved inventory.
Package config loads the hlab configuration file and turns it into a resolved inventory.
Package discover finds machines on the network that are not yet under management, and renders them as inventory entries.
Package discover finds machines on the network that are not yet under management, and renders them as inventory entries.
Package dnssync keeps a Technitium zone in step with hlab's inventory.
Package dnssync keeps a Technitium zone in step with hlab's inventory.
Package enroll brings an unmanaged machine under hlab's control: it logs in with an operator-supplied credential, creates a dedicated management account, installs hlab's own key, and verifies the result.
Package enroll brings an unmanaged machine under hlab's control: it logs in with an operator-supplied credential, creates a dedicated management account, installs hlab's own key, and verifies the result.
Package facts collects a read-only snapshot of what a managed host is running: OS, kernel, resources, services, listening ports and containers.
Package facts collects a read-only snapshot of what a managed host is running: OS, kernel, resources, services, listening ports and containers.
Package health asserts that machines are actually working, rather than merely reachable.
Package health asserts that machines are actually working, rather than merely reachable.
Package inventory models the set of machines hlab manages and the rules for selecting subsets of them.
Package inventory models the set of machines hlab manages and the rules for selecting subsets of them.
Package klippee implements Klippee configuration sync inside hlab.
Package klippee implements Klippee configuration sync inside hlab.
Package netcfg changes the network configuration of managed machines.
Package netcfg changes the network configuration of managed machines.
Package output renders command results as a human readable table or as machine readable JSON/YAML.
Package output renders command results as a human readable table or as machine readable JSON/YAML.
printerlab
cli
Package cli builds printerlab's command tree.
Package cli builds printerlab's command tree.
config
Package config loads the printer inventory and defaults.
Package config loads the printer inventory and defaults.
discover
Package discover scans an IPv4 range for Moonraker endpoints.
Package discover scans an IPv4 range for Moonraker endpoints.
inventory
Package inventory models printers and selector expressions.
Package inventory models printers and selector expressions.
journal
Package journal records migration attempts on the workstation.
Package journal records migration attempts on the workstation.
klippee
Package klippee binds hlab's native sync client to a printer workspace.
Package klippee binds hlab's native sync client to a printer workspace.
migrate
Package migrate runs printer migration operations.
Package migrate runs printer migration operations.
migration
Package migration embeds Plus4 migration tools and profiles.
Package migration embeds Plus4 migration tools and profiles.
moonraker
Package moonraker provides a client for the Moonraker API on Klipper printers.
Package moonraker provides a client for the Moonraker API on Klipper printers.
probe
Package probe reads migration state from the native backend.
Package probe reads migration state from the native backend.
stages
Package stages defines the Plus4 migration graph and resume decisions.
Package stages defines the Plus4 migration graph and resume decisions.
Package secrets manages the credential files a stack reads at runtime.
Package secrets manages the credential files a stack reads at runtime.
Package selector resolves target expressions against a named, tagged, grouped set of things.
Package selector resolves target expressions against a named, tagged, grouped set of things.
Package sshtest provides an in-process SSH server for tests, so the SSH code paths can be exercised end to end without a real machine.
Package sshtest provides an in-process SSH server for tests, so the SSH code paths can be exercised end to end without a real machine.
Package sshx wraps golang.org/x/crypto/ssh with the connection and authentication policy hlab uses: agent-first auth, strict known_hosts verification, and context-aware dialling.
Package sshx wraps golang.org/x/crypto/ssh with the connection and authentication policy hlab uses: agent-first auth, strict known_hosts verification, and context-aware dialling.
Package stack deploys Docker Compose stacks to managed machines.
Package stack deploys Docker Compose stacks to managed machines.
Package updates reports and applies operating system package upgrades and container image refreshes across a fleet.
Package updates reports and applies operating system package upgrades and container image refreshes across a fleet.

Jump to

Keyboard shortcuts

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