xtractl
xtractl is a CLI tool that allows you to control over certain parts of the running application that would otherwise require a restart.
Note
The major version of xtractl should match the major version of the ldproxy version that you are using.
So if you are for example using ldproxy version 3.6.4, you should use the most recent xtractl version 3.x.
Installation
Binary
Download the binary for your platform from the releases page and copy it to path of your liking. You may have to set the executable flag with chmod +x xtractl.
Docker
Pull the latest image: docker pull ghcr.io/ldproxy/xtractl
Usage
Help
All commands and subcommands have a --help flag, for example:
Binary
xtractl --helpxtractl entity --helpxtractl entity ls --help
Docker
docker run -it --rm ghcr.io/ldproxy/xtractl --helpdocker run -it --rm ghcr.io/ldproxy/xtractl entity --helpdocker run -it --rm ghcr.io/ldproxy/xtractl entity ls --help
Tips
If ldproxy is running on localhost and you are running xtractl with docker, you have to add the flag -h host.docker.internal.