GOST can be dynamically configured through Web API. The objects that support dynamic configuration are: service, chain, auther, bypass, admission controller, resolver, hosts. Configuration changes take effect immediately.
For detailed description, please refer to the online API documentation.
In GOST, all dynamically configured objects are immutable instances. Subsequent update operations generate a new object instance to replace the existing one.
Get Current Config¶
Save the current configuration to the
Services can be dynamically configured through Web API.
Create a New Service¶
Adding a new service will not affect the existing service. If the configuration is successful, the service will take effect immediately.
Updating an existing service will cause the service to restart.
Deleting an existing service immediately shuts down and deletes the service.
The configuration in GOST supports forward reference. When an object references another object (for example, a service refers to a forwarding chain), the referenced object may not exist, and the reference can be made valid by adding this object later.
After the forwarding chain is successfully configured, the objects referencing this forwarding chain will take effect immediately.
Replaces an existing forward chain object with the requested configuration.