internal/

directory
v0.0.0-...-49a5ef4 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0

Directories

Path Synopsis
Package archive keeps full copies of moved-away models in the archive folder, in the layout of Ollama's models folder, and copies them back.
Package archive keeps full copies of moved-away models in the archive folder, in the layout of Ollama's models folder, and copies them back.
Package cli runs the pasture command: each subcommand, and `pasture serve`, which starts `ollama serve` behind the proxy and keeps the library within its budget.
Package cli runs the pasture command: each subcommand, and `pasture serve`, which starts `ollama serve` behind the proxy and keeps the library within its budget.
Package client sends the pasture command's requests to the running `pasture serve`, with the admin token.
Package client sends the pasture command's requests to the running `pasture serve`, with the admin token.
Package config reads and writes pasture's config file and state file, and names where pasture keeps its files.
Package config reads and writes pasture's config file and state file, and names where pasture keeps its files.
Package disk measures the space that models take and the space left on the disk that holds them, the way df measures it on each system.
Package disk measures the space that models take and the space left on the disk that holds them, the way df measures it on each system.
Package fakeollama stands in for `ollama serve` in tests.
Package fakeollama stands in for `ollama serve` in tests.
Package files writes and copies files so that the result is on the disk before a call returns: through a temporary file and a rename, with each new folder entry synced.
Package files writes and copies files so that the result is on the disk before a call returns: through a temporary file and a rename, with each new folder entry synced.
Package harness wires a Manager, its proxy, and the node link to a fake Ollama for tests, and holds the helpers that the tests of several packages share.
Package harness wires a Manager, its proxy, and the node link to a fake Ollama for tests, and holds the helpers that the tests of several packages share.
Package library keeps a library of Ollama models within a disk budget.
Package library keeps a library of Ollama models within a disk budget.
Package model names Ollama models and reads their manifests, and asks a model's registry what it serves.
Package model names Ollama models and reads their manifests, and asks a model's registry what it serves.
Package node pairs this machine with a Cinchapi account, keeps the link to the account open while paired, and serves HTTPS with API keys on a server with a public name.
Package node pairs this machine with a Cinchapi account, keeps the link to the account open while paired, and serves HTTPS with API keys on a server with a public name.
Package ollama talks to the `ollama serve` that pasture runs behind its proxy, and downloads Ollama when no ollama command is installed.
Package ollama talks to the `ollama serve` that pasture runs behind its proxy, and downloads Ollama when no ollama command is installed.
Package onboard suggests local models for the machine and the work it will do.
Package onboard suggests local models for the machine and the work it will do.
Package service sets up the service that runs `pasture serve`: a launchd job on macOS or a systemd user unit on Linux, and the log files.
Package service sets up the service that runs `pasture serve`: a launchd job on macOS or a systemd user unit on Linux, and the log files.
Package term holds the pasture command's helpers for the terminal: questions, arguments, how long ago a time was, and waits.
Package term holds the pasture command's helpers for the terminal: questions, arguments, how long ago a time was, and waits.

Jump to

Keyboard shortcuts

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