chore: remove deprecated app functions

These were deprecated in 0.20.0 and are unused in Dokku's official codebases.
This commit is contained in:
Jose Diaz-Gonzalez
2023-02-12 13:02:23 -05:00
parent 18c983d77a
commit 7f2a66df88
3 changed files with 5 additions and 42 deletions

View File

@@ -1,41 +0,0 @@
#!/usr/bin/env bash
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_AVAILABLE_PATH/config/functions"
apps_create() {
declare desc="verifies app name and creates an app"
declare APP="$1"
declare deprecated=true
dokku_log_warn "Deprecated: plugn#app-create"
plugn trigger app-create "$APP"
}
apps_destroy() {
declare desc="destroys an app"
declare APP="$1"
declare deprecated=true
dokku_log_warn "Deprecated: plugn#app-destroy"
plugn trigger app-destroy "$APP"
}
apps_exists() {
declare desc="checks if an app exists"
declare APP="$1"
declare deprecated=true
dokku_log_warn "Deprecated: plugn#app-exists"
plugn trigger app-exists "$APP"
}
apps_maybe_create() {
declare desc="creates an app dir if allowed"
declare APP="$1"
declare deprecated=true
dokku_log_warn "Deprecated: plugn#app-maybe-create"
plugn trigger app-maybe-create "$APP"
}

View File

@@ -1,7 +1,6 @@
#!/usr/bin/env bash
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_CORE_AVAILABLE_PATH/common/property-functions"
source "$PLUGIN_AVAILABLE_PATH/apps/functions"
source "$PLUGIN_AVAILABLE_PATH/config/functions"
source "$PLUGIN_AVAILABLE_PATH/git/internal-functions"
set -eo pipefail