muster-preview

command
v0.279.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2026 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

muster-preview is the preview gateway: hosts running `muster-mirror -preview` open one tunnel to it each, and it will serve their local web servers to their owners (docs/design/previews.md, "The preview gateway"). The logic is internal/previewgw; this file is its command line.

muster-preview [serve]                          run the gateway (the container's command)
muster-preview host-token create [<owner>] <host>
                                                mint a host token (printed once)
muster-preview host-token ls
muster-preview host-token revoke <id>
muster-preview version

The host-token subcommands write $STATE_DIR/host-tokens.json under a flock; a running gateway re-reads it on every tunnel and every 30 s, so a revoked token's tunnel ends within 30 s. Run them where the gateway's STATE_DIR is mounted (inside its container).

Jump to

Keyboard shortcuts

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