Files
dokku/plugins/proxy/functions

24 lines
611 B
Plaintext
Raw Normal View History

2016-02-14 18:43:40 -08:00
#!/usr/bin/env bash
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
2016-02-14 18:43:40 -08:00
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_AVAILABLE_PATH/config/functions"
is_app_proxy_enabled() {
2016-03-08 15:30:34 -05:00
declare desc="return true if proxy is enabled; otherwise return false"
declare APP="$1"
declare deprecated=true
2021-04-13 13:26:14 -04:00
dokku_log_warn "Deprecated: Use plugn#proxy-is-enabled"
2016-02-14 18:43:40 -08:00
plugn trigger proxy-is-enabled "$APP"
2016-02-14 18:43:40 -08:00
}
get_app_proxy_type() {
2016-03-08 15:30:34 -05:00
declare desc="return app proxy type"
declare APP="$1"
declare deprecated=true
2021-04-13 13:26:14 -04:00
dokku_log_warn "Deprecated: Use plugn#proxy-type"
2016-02-14 18:43:40 -08:00
plugn trigger proxy-type "$APP"
}