setting to exclude proxy from global routing

This commit is contained in:
Fabian Freund
2026-05-27 09:23:18 +02:00
parent 2812c24f35
commit 7275ac9400
27 changed files with 661 additions and 65 deletions
@@ -14,6 +14,7 @@ interface Message {
'upsertProxy' |
'removeProxy' |
'setContainerProxy' |
'setContainerDirectConnection' |
'clearContainerProxy' |
'removeContainerProxyRelation' |
'healthcheck' |
@@ -69,6 +70,15 @@ port.onMessage.addListener((raw: unknown): void => {
store.setContainerProxyRelation(message.args.contextId, message.args.proxyId)
console.log('set container relation ' + message.args.contextId + ' -> ' + message.args.proxyId)
break
case "setContainerDirectConnection":
if (typeof message.args === 'string') {
store.setContainerDirectRelation(message.args)
console.log('set container direct relation ' + message.args)
} else {
store.setContainerDirectRelation(message.args.contextId, message.args.scopeId)
console.log('set container direct relation ' + message.args.contextId + ' scoped to ' + message.args.scopeId)
}
break
case "clearContainerProxy":
store.clearContainerProxyRelation(message.args)
console.log('cleared container relation ' + message.args)