Jose Diaz-Gonzalez
f842869c3d
refactor: move the proxy port map from config to property
...
Also remove all direct references to DOKKU_PROXY_PORT_MAP from outside of ports.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
48d5820b8c
refactor: deprecate proxy-configure-ports plugin trigger in favor of ports-configure
...
This also rewrites the logic to be in golang, which will make it easier to refactor portions of it to use the property system going forward.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
192f7cf768
refactor: move code for fetching an available port to the ports plugin
...
Also translate the code to golang.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
121e4737a8
refactor: move code that fetches raw tcp ports for dockerfile deploys to ports plugin
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
1431724b85
feat: use ports-clear plugn trigger to manage clearing the port map
...
This removes any access to the underlying implementation for port map clearing, which will make it easier to refactor the actual clearing.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
914475f3e4
refactor: use ports-get plugn trigger for fetching port mappings
...
This removes use of ports internals from other plugins, which will make it easier to refactor the underlying property storage.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
64f0f2674d
refactor: move all port management code to standalone ports plugin
...
This change makes interacting with port mappings more clear - folks might previously set the port mapping to the proxy type or vice-versa.
The existing proxy:ports* commands still exist but will show a deprecation warning for a single minor release.
2023-08-05 10:58:57 -04:00