clientexercise

command
v0.11.10 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 22 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command clientexercise is mission #1625's exercise, `make exercise-clients` (agni issue 1628). It starts one `agni serve` as a shared server would run: with a store, --auth tokens, and TLS from a certificate a test CA signed. It makes a token with `agni token create`, and runs each language's client example against it with the token in AGNI_TOKEN and the CA's file in AGNI_CA (agni issues 1627 and 1765). Each example prints one line of JSON summing up its answers, and each line must match the CLI's answers on the same design. It prints a step table, one row per language, and writes it to -out. A language whose example does not exist yet waits on its ticket.

Each example is clients/examples/<language>/run, taking -server and -design. docsite/content/build/client-contract.md says what the line holds.

Jump to

Keyboard shortcuts

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