Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
benchreport
command
Command benchreport turns repeated cmd/loadtest runs into one markdown report.
|
Command benchreport turns repeated cmd/loadtest runs into one markdown report. |
|
cinc-server-ng
command
Command cinc-server-ng runs the in-memory Chef Infra Server as a standalone process for use in test pipelines.
|
Command cinc-server-ng runs the in-memory Chef Infra Server as a standalone process for use in test pipelines. |
|
fleetsim
command
Command fleetsim drives realistic steady-state check-in traffic against a cinc-server-ng org.
|
Command fleetsim drives realistic steady-state check-in traffic against a cinc-server-ng org. |
|
loadtest
command
Command loadtest is a small HTTP benchmark harness for comparing cinc-server-ng against other Chef Infra Server implementations (notably the chef-zero gem).
|
Command loadtest is a small HTTP benchmark harness for comparing cinc-server-ng against other Chef Infra Server implementations (notably the chef-zero gem). |
|
seedgen
command
Command seedgen generates the large synthetic "real business" expansion of the dev fixture for the fictional company ACME: ~1000 realistically-named nodes across many functional tiers, the roles and cookbooks those nodes run, extra environments, and richer apps/secrets/users data bags.
|
Command seedgen generates the large synthetic "real business" expansion of the dev fixture for the fictional company ACME: ~1000 realistically-named nodes across many functional tiers, the roles and cookbooks those nodes run, extra environments, and richer apps/secrets/users data bags. |
|
Package differential compares cinc-server-ng's API responses against a real Chef Infra Server by issuing the same requests to both and diffing what comes back.
|
Package differential compares cinc-server-ng's API responses against a real Chef Infra Server by issuing the same requests to both and diffing what comes back. |
|
internal
|
|
|
api
Package api implements the Chef Infra Server HTTP API surface over the in-memory store.
|
Package api implements the Chef Infra Server HTTP API surface over the in-memory store. |
|
auth
Package auth implements verification of Chef's Mixlib::Authentication signed-header protocol (versions 1.0, 1.1, and 1.3), so unmodified chef-client / knife / cinc clients can authenticate to cinc-server-ng with real RSA key pairs.
|
Package auth implements verification of Chef's Mixlib::Authentication signed-header protocol (versions 1.0, 1.1, and 1.3), so unmodified chef-client / knife / cinc clients can authenticate to cinc-server-ng with real RSA key pairs. |
|
chefjson
Package chefjson reads and writes JSON documents the way Chef Infra Server does, so a document round-trips through cinc-server-ng byte for byte as it does through the real server.
|
Package chefjson reads and writes JSON documents the way Chef Infra Server does, so a document round-trips through cinc-server-ng byte for byte as it does through the real server. |
|
metrics
Package metrics is a small, dependency-free instrument registry: counters, sampled gauges, and histograms, rendered either as the JSON metric families Chef's /_stats endpoint returns or as Prometheus text exposition.
|
Package metrics is a small, dependency-free instrument registry: counters, sampled gauges, and histograms, rendered either as the JSON metric families Chef's /_stats endpoint returns or as Prometheus text exposition. |
|
repo
Package repo loads an on-disk chef-repo into an organization's store, mirroring the directory shapes that `knife upload` expects: nodes, roles, environments, and clients load as name-keyed JSON objects; data bags register each bag and its items; cookbook directories are checksummed into the blob store; policy locks under policies/ load as revisions keyed by their revision_id (where the policy API reads them); and policy_groups/ pin policies to groups.
|
Package repo loads an on-disk chef-repo into an organization's store, mirroring the directory shapes that `knife upload` expects: nodes, roles, environments, and clients load as name-keyed JSON objects; data bags register each bag and its items; cookbook directories are checksummed into the blob store; policy locks under policies/ load as revisions keyed by their revision_id (where the policy API reads them); and policy_groups/ pin policies to groups. |
|
runlist
Package runlist puts node and role run lists into the canonical form erchef stores them in (chef_object_base:normalize_run_list/1, applied by chef_node and chef_role on every create and update): a bare item is qualified as "recipe[item]", "recipe[...]" and "role[...]" items are kept as sent, and exact duplicates are dropped, keeping the first occurrence and the order.
|
Package runlist puts node and role run lists into the canonical form erchef stores them in (chef_object_base:normalize_run_list/1, applied by chef_node and chef_role on every create and update): a bare item is qualified as "recipe[item]", "recipe[...]" and "role[...]" items are kept as sent, and exact duplicates are dropped, keeping the first occurrence and the order. |
|
search
Package search implements Chef's in-process search: it flattens objects into the field map Chef's indexer produces and evaluates Solr-style queries against that map, matching how chef-zero serves search without an external search engine.
|
Package search implements Chef's in-process search: it flattens objects into the field map Chef's indexer produces and evaluates Solr-style queries against that map, matching how chef-zero serves search without an external search engine. |
|
state
Package state loads a complete cinc-server-ng server's state from an on-disk directory: global users, every organization, and each org's chef-objects plus authz groups.
|
Package state loads a complete cinc-server-ng server's state from an on-disk directory: global users, every organization, and each org's chef-objects plus authz groups. |
|
store
Package store is the data store for cinc-server-ng.
|
Package store is the data store for cinc-server-ng. |
|
store/backendtest
Package backendtest is the shared conformance suite for store.Backend implementations.
|
Package backendtest is the shared conformance suite for store.Backend implementations. |
|
store/sqlite
Package sqlite is the durable store.Backend backed by SQLite via the pure-Go modernc.org/sqlite driver (no cgo).
|
Package sqlite is the durable store.Backend backed by SQLite via the pure-Go modernc.org/sqlite driver (no cgo). |
|
Package server assembles the in-memory store, the Chef API handlers, and the authentication layer into a runnable, embeddable Chef Infra Server.
|
Package server assembles the in-memory store, the Chef API handlers, and the authentication layer into a runnable, embeddable Chef Infra Server. |
Click to show internal directories.
Click to hide internal directories.