sdk

module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: MIT

README

Cadestro SDK

The public Go module behind Cadestro's minimal device-management core:

  • native package management for apt, dnf/dnf5, pacman, and zypper;
  • bounded, non-interactive command execution;
  • the filesystem and systemd operations required by the agent;
  • enrollment, certificate, encryption, and logging helpers.

Install it with:

go get github.com/manchtools/cadestro/sdk@latest

The module is pre-1.0 and may make breaking changes between minor releases.

Run the standalone gate with:

./scripts/verify.sh

The gate runs with GOWORK=off so it verifies the same dependency graph used outside this repository.

Directories

Path Synopsis
Package crypto provides cryptographic utilities for certificate management.
Package crypto provides cryptographic utilities for certificate management.
Package pkg provides a uniform package-manager abstraction for Linux.
Package pkg provides a uniform package-manager abstraction for Linux.
sys
exec
Package exec provides command execution utilities for Linux system management.
Package exec provides command execution utilities for Linux system management.
exec/exectest
Package exectest provides a fake exec.Runner for unit-testing capability packages with no host, no sudo, and no container.
Package exectest provides a fake exec.Runner for unit-testing capability packages with no host, no sudo, and no container.
fs
Package fs provides privileged filesystem operations for Linux system management, driven by an injected exec.Runner rather than a process-global privilege backend.
Package fs provides privileged filesystem operations for Linux system management, driven by an injected exec.Runner rather than a process-global privilege backend.
service
Package service manages init/service units through an injected exec.Runner.
Package service manages init/service units through an injected exec.Runner.

Jump to

Keyboard shortcuts

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