feat: port vhost proxy :report subcommands to golang
The bash :report implementations for the caddy, haproxy, openresty, and traefik proxy plugins are replaced with a compiled golang binary that collects report keys in parallel and marshals json directly. The traefik dns-provider values keep their masking behaviour, remaining hidden in the default stdout report while surfacing for --format json or an explicit flag query. These four plugins previously had no unit tests, so a bats suite covering the report matrix is added for each.
This commit is contained in:
4
go.work
4
go.work
@@ -11,13 +11,16 @@ use (
|
||||
./plugins/builder-pack
|
||||
./plugins/builder-railpack
|
||||
./plugins/buildpacks
|
||||
./plugins/caddy-vhosts
|
||||
./plugins/common
|
||||
./plugins/config
|
||||
./plugins/cron
|
||||
./plugins/docker-options
|
||||
./plugins/haproxy-vhosts
|
||||
./plugins/logs
|
||||
./plugins/network
|
||||
./plugins/nginx-vhosts
|
||||
./plugins/openresty-vhosts
|
||||
./plugins/ports
|
||||
./plugins/proxy
|
||||
./plugins/ps
|
||||
@@ -28,4 +31,5 @@ use (
|
||||
./plugins/scheduler-docker-local
|
||||
./plugins/scheduler-k3s
|
||||
./plugins/storage
|
||||
./plugins/traefik-vhosts
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user