From 651bc9b0bbeda8672530e4c560f715e8dd62d35b Mon Sep 17 00:00:00 2001 From: Pascal Fischer Date: Fri, 24 Jan 2025 17:18:55 +0100 Subject: [PATCH] rename ports for port mappings --- management/server/http/api/types.gen.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/management/server/http/api/types.gen.go b/management/server/http/api/types.gen.go index 3534b532a82..2fd21394993 100644 --- a/management/server/http/api/types.gen.go +++ b/management/server/http/api/types.gen.go @@ -1190,9 +1190,6 @@ type ProxyConfiguration struct { // ProxyConfigurationPortMapping defines model for ProxyConfigurationPortMapping. type ProxyConfigurationPortMapping struct { - // End The ending port of the range of forwarded ports - End int `json:"end"` - // IngressEnd The ending port of the range of ingress ports mapped to the forwarded ports IngressEnd int `json:"ingress_end"` @@ -1202,8 +1199,11 @@ type ProxyConfigurationPortMapping struct { // Protocol Protocol accepted by the ports Protocol ProxyConfigurationPortMappingProtocol `json:"protocol"` - // Start The starting port of the range of forwarded ports - Start int `json:"start"` + // TranslatedEnd The ending port of the translated range of forwarded ports + TranslatedEnd *int `json:"translated_end,omitempty"` + + // TranslatedStart The starting port of the translated range of forwarded ports + TranslatedStart *int `json:"translated_start,omitempty"` } // ProxyConfigurationPortMappingProtocol Protocol accepted by the ports