Documentation ¶
Overview ¶
Slurp is an intermediary to the stored build/blob, used specifically to speed up publishing nanobox builds.
Usage ¶
To start slurp as a server, simply run:
slurp
For more specific usage information, refer to the help doc (slurp -h):
Usage: slurp [flags] Flags: -a, --api-address="https://127.0.0.1:1566": Listen uri for the API (scheme defaults to https) -t, --api-token="secret": Token for API Access -b, --build-dir="/var/db/slurp/build/": Build staging directory -c, --config-file="": Configuration file to load -i, --insecure[=true]: Disable tls certificate verification when connecting to storage -l, --log-level="info": Log level to output [fatal|error|info|debug|trace] -s, --ssh-addr="127.0.0.1:1567": Address ssh server will listen on (ip:port combo) -k, --ssh-host="/var/db/slurp/slurp_rsa": SSH host (private) key file -S, --store-addr="hoarders://127.0.0.1:7410": Storage host address -T, --store-token="": Storage auth token -v, --version[=false]: Print version info and exit
Directories ¶
Path | Synopsis |
---|---|
Package "api" defines the routes accessible and the logic when they are hit.
|
Package "api" defines the routes accessible and the logic when they are hit. |
Package "backend" is the layer between slurp and the long stored blobs.
|
Package "backend" is the layer between slurp and the long stored blobs. |
Package "config" is a central location for configuration options.
|
Package "config" is a central location for configuration options. |
Package "slurp" contains the core logic to fetch, pipe, and un/compress builds.
|
Package "slurp" contains the core logic to fetch, pipe, and un/compress builds. |
Package "ssh" contains the ssh server logic.
|
Package "ssh" contains the ssh server logic. |
Click to show internal directories.
Click to hide internal directories.