Directories
¶
| Path | Synopsis |
|---|---|
|
agent
module
|
|
|
api
module
|
|
|
cli
module
|
|
|
connector
module
|
|
|
gateway
module
|
|
|
openapi
module
|
|
|
pkg
|
|
|
api/requests
Package requests defines structures to represent requests' bodies from API.
|
Package requests defines structures to represent requests' bodies from API. |
|
api/scope
Package scope makes the namespace an operation is bounded to a first-class value.
|
Package scope makes the namespace an operation is bounded to a first-class value. |
|
connectivity
Package connectivity reports a server's reachability as transitions rather than as attempts, so a component that retries for as long as it is offline logs when it loses the server and when it gets it back instead of once per retry.
|
Package connectivity reports a server's reachability as transitions rather than as attempts, so a component that retries for as long as it is offline logs when it loses the server and when it gets it back instead of once per retry. |
|
devicekey
Package devicekey reads the key pair a device enrols with: the agent's SSH host key, whose public half the device record stores as PEM.
|
Package devicekey reads the key pair a device enrols with: the agent's SSH host key, whose public half the device record stores as PEM. |
|
geoip
Package geoip helps in geolocation operations.
|
Package geoip helps in geolocation operations. |
|
pairingcode
Package pairingcode generates and validates short, human-readable codes — the kind a person reads off one screen and types on another (device pairing, invitation links).
|
Package pairingcode generates and validates short, human-readable codes — the kind a person reads off one screen and types on another (device pairing, invitation links). |
|
revdial
Package revdial implements a Dialer and Listener which work together to turn an accepted connection (for instance, a Hijacked HTTP request) into a Dialer which can then create net.Conns connecting back to the original dialer, which then gets a net.Listener accepting those conns.
|
Package revdial implements a Dialer and Listener which work together to turn an accepted connection (for instance, a Hijacked HTTP request) into a Dialer which can then create net.Conns connecting back to the original dialer, which then gets a net.Listener accepting those conns. |
|
testimage
Package testimage gives a test that builds a ShellHub Dockerfile the build arguments the Dockerfile declares without defaults: the versions pinned in versions.env at the repository root, the same file the compose wrapper and CI pass to their builds.
|
Package testimage gives a test that builds a ShellHub Dockerfile the build arguments the Dockerfile declares without defaults: the versions pinned in versions.env at the repository root, the same file the compose wrapper and CI pass to their builds. |
|
testport
Package testport publishes test containers on host ports below the kernel's ephemeral range, so that rootless Docker under pasta, which forwards only non-ephemeral ports, can reach them.
|
Package testport publishes test containers on host ports below the kernel's ephemeral range, so that rootless Docker under pasta, which forwards only non-ephemeral ports, can reach them. |
|
testrun
Package testrun owns the Docker objects a test process creates on a shared daemon.
|
Package testrun owns the Docker objects a test process creates on a shared daemon. |
|
webendpoints
Package webendpoints provides helpers for composing web-endpoint hostnames.
|
Package webendpoints provides helpers for composing web-endpoint hostnames. |
|
wsconnadapter/wsconnadaptertest
Package wsconnadaptertest connects a wsconnadapter.Adapter to a WebSocket peer over an in-memory pipe, so a test can drive the adapter's keep-alive inside a testing/synctest bubble without a socket or the real clock.
|
Package wsconnadaptertest connects a wsconnadapter.Adapter to a WebSocket peer over an in-memory pipe, so a test can drive the adapter's keep-alive inside a testing/synctest bubble without a socket or the real clock. |
|
api/openapi
module
|
|
|
server
module
|
|
|
ssh
module
|
|
|
tests
module
|
Click to show internal directories.
Click to hide internal directories.