Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
osapi
command
Command osapi is a general-purpose CLI for talking to OpenSearch REST endpoints with configurable retry.
|
Command osapi is a general-purpose CLI for talking to OpenSearch REST endpoints with configurable retry. |
|
internal
|
|
|
apispec
Package apispec exposes the OpenSearch API path templates and their allowed HTTP methods, generated from a pinned OpenAPI spec.
|
Package apispec exposes the OpenSearch API path templates and their allowed HTTP methods, generated from a pinned OpenAPI spec. |
|
cli
Package cli builds the osapi command: a resilient client for OpenSearch REST endpoints with configurable retry.
|
Package cli builds the osapi command: a resilient client for OpenSearch REST endpoints with configurable retry. |
|
config
Package config resolves osapi runtime configuration from flags, environment variables and env files.
|
Package config resolves osapi runtime configuration from flags, environment variables and env files. |
|
osclient
Package osclient builds a standard-library HTTP client and raw requests for a single OpenSearch endpoint.
|
Package osclient builds a standard-library HTTP client and raw requests for a single OpenSearch endpoint. |
|
retry
Package retry provides a configurable, context-aware retry engine for HTTP requests: it classifies each outcome — optionally guided by jq body predicates — and backs off between attempts until success, a terminal status, or attempt exhaustion.
|
Package retry provides a configurable, context-aware retry engine for HTTP requests: it classifies each outcome — optionally guided by jq body predicates — and backs off between attempts until success, a terminal status, or attempt exhaustion. |
|
runbook
Package runbook loads declarative, multi-call YAML runbooks: a sequence of OpenSearch calls, each mirroring the osapi request flags, executed in document order.
|
Package runbook loads declarative, multi-call YAML runbooks: a sequence of OpenSearch calls, each mirroring the osapi request flags, executed in document order. |
Click to show internal directories.
Click to hide internal directories.