feat: first pass at haproxy plugin implementation

This commit is contained in:
Jose Diaz-Gonzalez
2022-08-17 18:37:32 -04:00
parent 89cf4a5e76
commit 237aae9eec
19 changed files with 587 additions and 2 deletions

15
plugins/haproxy-vhosts/commands Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
[[ " haproxy:help help " == *" $1 "* ]] || exit "$DOKKU_NOT_IMPLEMENTED_EXIT"
source "$PLUGIN_AVAILABLE_PATH/haproxy-vhosts/help-functions"
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
case "$1" in
help | haproxy:help)
cmd-haproxy-help "$@"
;;
*)
exit "$DOKKU_NOT_IMPLEMENTED_EXIT"
;;
esac