backend/director admin states
Dridi Boukelmoune
dridi at varni.sh
Thu May 3 11:51:35 UTC 2018
On Thu, May 3, 2018 at 1:04 PM, Poul-Henning Kamp <phk at phk.freebsd.dk> wrote:
> --------
> In message <CAJ6ZYQx3vsFtWeTHpoU+ifgKjPDQv3=sH=c5Q-ZxFqJCU0kPEw at mail.gmail.com>
> , Guillaume Quintard writes:
>
>>All commands should have a JSON option, I reckon.
>
> Somebody should write more code for it then, I reckon :-)
Maybe we should do that the other way around? Have all CLI commands
reply with a JSON data structure, and CLI consumers like varnishadm,
varnishtest or varnishd -d be able to output it in plain text (with
this code centralized in libvarnish and exposed in libvarnishapi).
Dridi
More information about the varnish-dev
mailing list