mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-02 03:56:41 +00:00
be986a62a5
Parses input from PATCH /v1/device/host-config into either type HostConfiguration, or if LegacyHostConfiguration if input is of an acceptable shape (for backwards compatibility). Once input has been determined to be of type HostConfiguration, we can easily extract ProxyConfig from the object for patching, stringifying, and writing to redsocks.conf. Change-type: minor Signed-off-by: Christina Ying Wang <christina@balena.io> |
||
---|---|---|
.. | ||
compose | ||
config | ||
device-api | ||
lib | ||
.mocharc.js | ||
host-config.spec.ts | ||
memory.spec.ts | ||
network.spec.ts | ||
types.spec.ts |