mirror of
https://github.com/dokku/dokku.git
synced 2025-12-25 16:29:30 +01:00
24 lines
611 B
Bash
Executable File
24 lines
611 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail
|
|
[[ $DOKKU_TRACE ]] && set -x
|
|
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
|
source "$PLUGIN_AVAILABLE_PATH/config/functions"
|
|
|
|
is_app_proxy_enabled() {
|
|
declare desc="return true if proxy is enabled; otherwise return false"
|
|
declare APP="$1"
|
|
declare deprecated=true
|
|
dokku_log_warn "Deprecated: Use plugn#proxy-is-enabled"
|
|
|
|
plugn trigger proxy-is-enabled "$APP"
|
|
}
|
|
|
|
get_app_proxy_type() {
|
|
declare desc="return app proxy type"
|
|
declare APP="$1"
|
|
declare deprecated=true
|
|
dokku_log_warn "Deprecated: Use plugn#proxy-type"
|
|
|
|
plugn trigger proxy-type "$APP"
|
|
}
|