Directories
¶
| Path | Synopsis |
|---|---|
|
Package charset looks up text encodings by their WHATWG labels and decodes bytes strictly.
|
Package charset looks up text encodings by their WHATWG labels and decodes bytes strictly. |
|
Package cli implements the sonde command line: cobra commands, flag mapping and output wiring.
|
Package cli implements the sonde command line: cobra commands, flag mapping and output wiring. |
|
Package codec opens readers that undo HTTP content codings (br, gzip, deflate, zstd, identity), for whole bodies and for streams alike.
|
Package codec opens readers that undo HTTP content codings (br, gzip, deflate, zstd, identity), for whole bodies and for streams alike. |
|
Package config builds the run configuration a command line assembles before an entry ever runs: typed variables and secrets from the command line, properties files and environment variables, plus the small set of options read from a config file.
|
Package config builds the run configuration a command line assembles before an entry ever runs: typed variables and secrets from the command line, properties files and environment variables, plus the small set of options read from a config file. |
|
Package convert is the shared writer importers (curl, Postman, OpenCollection, .http, OpenAPI) use to turn generated request files into files on disk: path sanitizing, collision handling, a sandboxed atomic write and a sonde.yaml skeleton that is never overwritten.
|
Package convert is the shared writer importers (curl, Postman, OpenCollection, .http, OpenAPI) use to turn generated request files into files on disk: path sanitizing, collision handling, a sandboxed atomic write and a sonde.yaml skeleton that is never overwritten. |
|
curl
Package curl imports curl command lines into Sonde request files, and (see engine/curl_export.go, internal/cli/export.go) supports exporting entries back to curl.
|
Package curl imports curl command lines into Sonde request files, and (see engine/curl_export.go, internal/cli/export.go) supports exporting entries back to curl. |
|
httpfile
Package httpfile imports ".http" files, the plain-text request format shared (with minor dialect differences) by the JetBrains HTTP Client and the VS Code REST Client extension, into Sonde request files.
|
Package httpfile imports ".http" files, the plain-text request format shared (with minor dialect differences) by the JetBrains HTTP Client and the VS Code REST Client extension, into Sonde request files. |
|
opencollection
Package opencollection imports a Bruno OpenCollection YAML collection — a single file or a directory — into Sonde request files, through the shared internal/convert writer.
|
Package opencollection imports a Bruno OpenCollection YAML collection — a single file or a directory — into Sonde request files, through the shared internal/convert writer. |
|
postman
Package postman imports a Postman Collection v2.1 (or v2.0, which the same schema also parses) into Sonde request files: folders become directories, collection and environment variables become a sonde.yaml skeleton, and pre-request/test scripts are kept as comments, never executed.
|
Package postman imports a Postman Collection v2.1 (or v2.0, which the same schema also parses) into Sonde request files: folders become directories, collection and environment variables become a sonde.yaml skeleton, and pre-request/test scripts are kept as comments, never executed. |
|
Package dataset streams the rows of a data file (`--data`): a CSV file with a header row, or a JSON array of objects.
|
Package dataset streams the rows of a data file (`--data`): a CSV file with a header row, or a JSON array of objects. |
|
Package datefmt reproduces the date/time formatting and parsing semantics of the Rust chrono crate (v0.4.44, built with default-features = false, features = ["clock"], i.e.
|
Package datefmt reproduces the date/time formatting and parsing semantics of the Rust chrono crate (v0.4.44, built with default-features = false, features = ["clock"], i.e. |
|
Package docs holds Sonde's single compatibility doc-data source (table.yaml) and its typed accessors.
|
Package docs holds Sonde's single compatibility doc-data source (table.yaml) and its typed accessors. |
|
Package enginex builds engine result values from internal types, for internal tests that need results without running a file, and reaches engine settings that are not part of its public API.
|
Package enginex builds engine result values from internal types, for internal tests that need results without running a file, and reaches engine settings that are not part of its public API. |
|
Package filter applies filters (`count`, `jsonpath`, `toInt`, …) to the value of a query.
|
Package filter applies filters (`count`, `jsonpath`, `toInt`, …) to the value of a query. |
|
Package grpcx implements gRPC calls on top of an HTTP/2 client: message framing, status codes, message descriptors (.proto files, descriptor sets, server reflection) and the JSON mapping of messages (docs/decisions/0005-grpc.md).
|
Package grpcx implements gRPC calls on top of an HTTP/2 client: message framing, status codes, message descriptors (.proto files, descriptor sets, server reflection) and the JSON mapping of messages (docs/decisions/0005-grpc.md). |
|
Package httpx executes requests: it builds the HTTP request from a RequestSpec, applies the transport options, follows redirects manually and keeps the cookie store of a run unit.
|
Package httpx executes requests: it builds the HTTP request from a RequestSpec, applies the transport options, follows redirects manually and keeps the cookie store of a run unit. |
|
Package jsonpath implements JSONPath (RFC 9535): parsing a query with Parse and evaluating it against a decoded JSON document with Eval.
|
Package jsonpath implements JSONPath (RFC 9535): parsing a query with Parse and evaluating it against a decoded JSON document with Eval. |
|
Package lsp implements `sonde lsp`, a Language Server Protocol server over stdio for .hurl and .sonde files: diagnostics, completion, hover and formatting.
|
Package lsp implements `sonde lsp`, a Language Server Protocol server over stdio for .hurl and .sonde files: diagnostics, completion, hover and formatting. |
|
Package mcp serves request files to AI agents over the Model Context Protocol (`sonde mcp`): sonde_list and sonde_check read them, and sonde_run, only when the server was started with --allow-run, runs one against the hosts of an allowlist.
|
Package mcp serves request files to AI agents over the Model Context Protocol (`sonde mcp`): sonde_list and sonde_check read them, and sonde_run, only when the server was started with --allow-run, runs one against the hosts of an allowlist. |
|
Package mock serves an OpenAPI mock over HTTP (sonde mock): the net/http side of openapi.Mock, which chooses and renders responses.
|
Package mock serves an OpenAPI mock over HTTP (sonde mock): the net/http side of openapi.Mock, which chooses and renders responses. |
|
Package netpolicy decides which hosts a run may contact.
|
Package netpolicy decides which hosts a run may contact. |
|
Package openapi validates responses against an OpenAPI 3.x description (the engine.ResponseValidator of --openapi) and generates request files from one (sonde import openapi).
|
Package openapi validates responses against an OpenAPI 3.x description (the engine.ResponseValidator of --openapi) and generates request files from one (sonde import openapi). |
|
Package predicate evaluates assert predicates (`==`, `contains`, `isInteger`, …, optionally negated with `not`).
|
Package predicate evaluates assert predicates (`==`, `contains`, `isInteger`, …, optionally negated with `not`). |
|
Package query evaluates queries (`status`, `header`, `jsonpath`, …) on the responses of an entry.
|
Package query evaluates queries (`status`, `header`, `jsonpath`, …) on the responses of an entry. |
|
Package redact holds a per-run, append-only registry of secret values and masks them, and their predictable encoded variants, out of text before it is printed, logged, or written to a report.
|
Package redact holds a per-run, append-only registry of secret values and masks them, and their predictable encoded variants, out of text before it is printed, logged, or written to a report. |
|
Package regex holds the regular expression rules shared by the parser and evaluation: patterns must be valid for the Go engine and must not rely on its leniencies (a `{` that is not a counted repetition).
|
Package regex holds the regular expression rules shared by the parser and evaluation: patterns must be valid for the Go engine and must not rely on its leniencies (a `{` that is not a counted repetition). |
|
Package runerr defines the runtime error raised while evaluating a request file: templates, queries, filters, predicates and captures.
|
Package runerr defines the runtime error raised while evaluating a request file: templates, queries, filters, predicates and captures. |
|
Package sandbox confines the files a request file may read or write to a file root.
|
Package sandbox confines the files a request file may read or write to a file root. |
|
Package stream reads streaming responses: Server-Sent Events and WebSocket message scripts (docs/decisions/0004-streaming-protocols.md).
|
Package stream reads streaming responses: Server-Sent Events and WebSocket message scripts (docs/decisions/0004-streaming-protocols.md). |
|
Package styled builds text made of styled runs, printed either plain or with ANSI escape codes.
|
Package styled builds text made of styled runs, printed either plain or with ANSI escape codes. |
|
Package syntax parses .hurl/.sonde files into a lossless AST, prints it back byte for byte, formats it canonically and renders diagnostics.
|
Package syntax parses .hurl/.sonde files into a lossless AST, prints it back byte for byte, formats it canonically and renders diagnostics. |
|
Package template evaluates `{{ }}` expressions and renders templates with typed variables.
|
Package template evaluates `{{ }}` expressions and renders templates with typed variables. |
|
Package value is the typed value model of evaluation: what queries return, filters transform, predicates compare and templates render.
|
Package value is the typed value model of evaluation: what queries return, filters transform, predicates compare and templates render. |
|
Package xpath evaluates XPath 1.0 expressions on HTML and XML documents.
|
Package xpath evaluates XPath 1.0 expressions on HTML and XML documents. |
Click to show internal directories.
Click to hide internal directories.