Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
sind
command
Package main implements the sind CLI.
|
Package main implements the sind CLI. |
|
internal
|
|
|
archdoc
Package archdoc holds the test that keeps the dependency flow of the architecture guide (docs/content/contributing/architecture-guide.md) in step with the imports of sind's packages.
|
Package archdoc holds the test that keeps the dependency flow of the architecture guide (docs/content/contributing/architecture-guide.md) in step with the imports of sind's packages. |
|
detach
Package detach gives a write that must not be cut short, such as of the mesh DNS or of sind-nodes.conf, a context that ignores the cancellation and the deadline of the caller's, as Ctrl+C or the --wait limit would kill the docker CLI halfway.
|
Package detach gives a write that must not be cut short, such as of the mesh DNS or of sind-nodes.conf, a context that ignores the cancellation and the deadline of the caller's, as Ctrl+C or the --wait limit would kill the docker CLI halfway. |
|
doctor
Package doctor provides host prerequisite checks for sind.
|
Package doctor provides host prerequisite checks for sind. |
|
envvar
Package envvar names the SIND_* environment variables that sind reads, and reads them.
|
Package envvar names the SIND_* environment variables that sind reads, and reads them. |
|
execopt
Package execopt holds the options that sind's packages give cmdexec.OSExecutor in the context of a call.
|
Package execopt holds the options that sind's packages give cmdexec.OSExecutor in the context of a call. |
|
fakedocker
Package fakedocker holds a stand-in for dockerd that the unit tests of several packages share, as _test.go files cannot be imported.
|
Package fakedocker holds a stand-in for dockerd that the unit tests of several packages share, as _test.go files cannot be imported. |
|
help
Package help holds the help texts of sind: what its words mean, what each action of sind ui does, what each page shows and how to do common things.
|
Package help holds the help texts of sind: what its words mean, what each action of sind ui does, what each page shows and how to do common things. |
|
hostname
Package hostname decides whether a name may be used as one label of a host name.
|
Package hostname decides whether a name may be used as one label of a host name. |
|
mcpconfig
Package mcpconfig edits the MCP server list in an editor's configuration file (Claude Desktop, VS Code, Cursor) in place.
|
Package mcpconfig edits the MCP server list in an editor's configuration file (Claude Desktop, VS Code, Cursor) in place. |
|
mock
Package mock provides test doubles for the cmdexec.Executor interface.
|
Package mock provides test doubles for the cmdexec.Executor interface. |
|
monitor
Package monitor provides event-driven monitoring of Docker containers and systemd services inside them.
|
Package monitor provides event-driven monitoring of Docker containers and systemd services inside them. |
|
natsort
Package natsort orders names naturally, with runs of digits compared by their value: "worker-2" before "worker-10", "dev2" before "dev10".
|
Package natsort orders names naturally, with runs of digits compared by their value: "worker-2" before "worker-10", "dev2" before "dev10". |
|
nodecmd
Package nodecmd builds the docker command lines of sind ssh, enter, exec and logs, and of the log views of sind ui, which run in the terminal or stream a node's output.
|
Package nodecmd builds the docker command lines of sind ssh, enter, exec and logs, and of the log views of sind ui, which run in the terminal or stream a node's output. |
|
observability
Package observability manages a realm's monitoring stack: Grafana Alloy, which collects the Slurm metrics, the container resource use and the journals of the monitored clusters' nodes, Prometheus and Loki, which store them, and Grafana, which shows them.
|
Package observability manages a realm's monitoring stack: Grafana Alloy, which collects the Slurm metrics, the container resource use and the journals of the monitored clusters' nodes, Prometheus and Loki, which store them, and Grafana, which shows them. |
|
probe
Package probe implements readiness probes for cluster services.
|
Package probe implements readiness probes for cluster services. |
|
slurm
Package slurm handles Slurm version discovery and configuration generation.
|
Package slurm handles Slurm version discovery and configuration generation. |
|
ssh
Package ssh handles SSH key injection and host key collection for node containers, and the export of the SSH client configuration.
|
Package ssh handles SSH key injection and host key collection for node containers, and the export of the SSH client configuration. |
|
testutil
Package testutil provides shared test helpers used across sind packages.
|
Package testutil provides shared test helpers used across sind packages. |
|
testutil/itest
Package itest holds what the integration tests of every package share: the check for a Docker daemon, whether a host that cannot run them skips or fails them, and the ID of the test process.
|
Package itest holds what the integration tests of every package share: the check for a Docker daemon, whether a host that cannot run them skips or fails them, and the ID of the test process. |
|
testutil/prereq
Package prereq checks, in the integration tests, that the host meets sind's prerequisites.
|
Package prereq checks, in the integration tests, that the host meets sind's prerequisites. |
|
ui
Package ui implements sind ui, a local web UI for sind.
|
Package ui implements sind ui, a local web UI for sind. |
|
ui/action
Package action turns the forms of sind ui's dialogs into the sind commands they run.
|
Package action turns the forms of sind ui's dialogs into the sind commands they run. |
|
ui/activity
Package activity follows sind's event log, the go-clikit event log (v1) that every sind command appends to and that sind ui reads its progress display from, and reduces its lines to store.Run values: each run is one command with the tree of its spans.
|
Package activity follows sind's event log, the go-clikit event log (v1) that every sind command appends to and that sind ui reads its progress display from, and reduces its lines to store.Run values: each run is one command with the tree of its spans. |
|
ui/collect
Package collect fills the store of sind ui with what Docker and the host know: the realms, clusters, nodes, networks and volumes, the mesh, the status of the clusters, the realm locks, the monitoring stacks and the host checks.
|
Package collect fills the store of sind ui with what Docker and the host know: the realms, clusters, nodes, networks and volumes, the mesh, the status of the clusters, the realm locks, the monitoring stacks and the host checks. |
|
ui/demo
Package demo is the made-up Docker host that sind ui --demo shows: two realms with clusters of different shapes and states, a mesh, a monitoring stack, the host checks with one warning, and a few runs of the activity log.
|
Package demo is the made-up Docker host that sind ui --demo shows: two realms with clusters of different shapes and states, a mesh, a monitoring stack, the host checks with one warning, and a few runs of the activity log. |
|
ui/nodefold
Package nodefold folds the names of nodes into node sets as sind's node arguments take them.
|
Package nodefold folds the names of nodes into node sets as sind's node arguments take them. |
|
ui/run
Package run starts the sind commands that the dialogs of sind ui make, and keeps their tasks in the store while they run.
|
Package run starts the sind commands that the dialogs of sind ui make, and keeps their tasks in the store while they run. |
|
ui/store
Package store holds what sind ui shows, in memory: the collectors write it, the pages and the live updates read it.
|
Package store holds what sind ui shows, in memory: the collectors write it, the pages and the live updates read it. |
|
pkg
|
|
|
cluster
Package cluster provides types and operations for sind cluster management.
|
Package cluster provides types and operations for sind cluster management. |
|
cmdexec
Package cmdexec provides a testable abstraction for running external commands.
|
Package cmdexec provides a testable abstraction for running external commands. |
|
config
Package config handles parsing and validation of sind cluster configuration.
|
Package config handles parsing and validation of sind cluster configuration. |
|
docker
Package docker provides a thin abstraction over the Docker CLI.
|
Package docker provides a thin abstraction over the Docker CLI. |
|
log
Package log provides context-based structured logging.
|
Package log provides context-based structured logging. |
|
mesh
Package mesh manages the global infrastructure shared across all sind clusters.
|
Package mesh manages the global infrastructure shared across all sind clusters. |
|
state
Package state locates sind's per-user state on the host and holds the realm lock, which serializes the operations that change a realm.
|
Package state locates sind's per-user state on the host and holds the realm lock, which serializes the operations that change a realm. |
|
tools
|
|
|
images
command
Command images prints the images of the realm services that sind pins, one per line: the mesh's CoreDNS and the monitoring stack's four.
|
Command images prints the images of the realm services that sind pins, one per line: the mesh's CoreDNS and the monitoring stack's four. |
Click to show internal directories.
Click to hide internal directories.