gantry-guest

command
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Command gantry-guest is the multicall guest-side helper binary: one static Linux executable dispatched by argv[0] (busybox-style) or by its first argument. The daemon stages it at /run/gantry/bin/ inside the guest with one symlink per mode:

credhelper            git credential.helper — asks the host broker
                      (vsock, see internal/sandbox/credhelper) for
                      the credential bound to the queried host
oauth login <provider>  custody-mode OAuth: the daemon completes
                      the exchange host-side and holds the refresh
                      token (internal/sandbox/oauthtokens)
oauth-watch           daemon-only loopback listener discovery

Modes are answer-only adapters: they can request credentials from the host broker but can never add, swap, or re-point them.

The binary is cross-built for the guest architecture and distributed as a sha256-verified release asset (internal/guestasset), never go:embed, so host and guest architectures can differ and the payload does not bloat every host binary.

Jump to

Keyboard shortcuts

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