# Functions
NewCreateApp creates a new http.Handler for the create app operation.
NewCreateAppBadRequest creates CreateAppBadRequest with default headers values.
NewCreateAppCreated creates CreateAppCreated with default headers values.
NewCreateAppDefault creates CreateAppDefault with default headers values.
NewCreateAppParams creates a new CreateAppParams object no default values defined in spec.
NewDeleteApp creates a new http.Handler for the delete app operation.
NewDeleteAppDefault creates DeleteAppDefault with default headers values.
NewDeleteAppNotFound creates DeleteAppNotFound with default headers values.
NewDeleteAppOK creates DeleteAppOK with default headers values.
NewDeleteAppParams creates a new DeleteAppParams object no default values defined in spec.
NewEditApp creates a new http.Handler for the edit app operation.
NewEditAppBadRequest creates EditAppBadRequest with default headers values.
NewEditAppDefault creates EditAppDefault with default headers values.
NewEditAppNotFound creates EditAppNotFound with default headers values.
NewEditAppOK creates EditAppOK with default headers values.
NewEditAppParams creates a new EditAppParams object no default values defined in spec.
NewGetApp creates a new http.Handler for the get app operation.
NewGetAppEnv creates a new http.Handler for the get app env operation.
NewGetAppEnvDefault creates GetAppEnvDefault with default headers values.
NewGetAppEnvNotFound creates GetAppEnvNotFound with default headers values.
NewGetAppEnvOK creates GetAppEnvOK with default headers values.
NewGetAppEnvParams creates a new GetAppEnvParams object no default values defined in spec.
NewGetAppNotFound creates GetAppNotFound with default headers values.
NewGetAppOK creates GetAppOK with default headers values.
NewGetAppParams creates a new GetAppParams object no default values defined in spec.
NewGetAppTraefikConfig creates a new http.Handler for the get app traefik config operation.
NewGetAppTraefikConfigBadRequest creates GetAppTraefikConfigBadRequest with default headers values.
NewGetAppTraefikConfigDefault creates GetAppTraefikConfigDefault with default headers values.
NewGetAppTraefikConfigNotFound creates GetAppTraefikConfigNotFound with default headers values.
NewGetAppTraefikConfigOK creates GetAppTraefikConfigOK with default headers values.
NewGetAppTraefikConfigParams creates a new GetAppTraefikConfigParams object no default values defined in spec.
NewGetPlugin creates a new http.Handler for the get plugin operation.
NewGetPluginDefault creates GetPluginDefault with default headers values.
NewGetPluginNotFound creates GetPluginNotFound with default headers values.
NewGetPluginOK creates GetPluginOK with default headers values.
NewGetPluginParams creates a new GetPluginParams object no default values defined in spec.
NewGetRunConfig creates a new http.Handler for the get run config operation.
NewGetRunConfigDefault creates GetRunConfigDefault with default headers values.
NewGetRunConfigNotFound creates GetRunConfigNotFound with default headers values.
NewGetRunConfigOK creates GetRunConfigOK with default headers values.
NewGetRunConfigParams creates a new GetRunConfigParams object no default values defined in spec.
NewHealthCheck creates a new http.Handler for the health check operation.
NewHealthCheckOK creates HealthCheckOK with default headers values.
NewHealthCheckParams creates a new HealthCheckParams object no default values defined in spec.
NewInstallPlugin creates a new http.Handler for the install plugin operation.
NewInstallPluginCreated creates InstallPluginCreated with default headers values.
NewInstallPluginDefault creates InstallPluginDefault with default headers values.
NewInstallPluginParams creates a new InstallPluginParams object no default values defined in spec.
NewListApps creates a new http.Handler for the list apps operation.
NewListAppsDefault creates ListAppsDefault with default headers values.
NewListAppsOK creates ListAppsOK with default headers values.
NewListAppsParams creates a new ListAppsParams object no default values defined in spec.
NewListPlugins creates a new http.Handler for the list plugins operation.
NewListPluginsDefault creates ListPluginsDefault with default headers values.
NewListPluginsOK creates ListPluginsOK with default headers values.
NewListPluginsParams creates a new ListPluginsParams object no default values defined in spec.
NewMiasmaAPI creates a new Miasma instance.
NewRemoveAppTraefikConfig creates a new http.Handler for the remove app traefik config operation.
NewRemoveAppTraefikConfigBadRequest creates RemoveAppTraefikConfigBadRequest with default headers values.
NewRemoveAppTraefikConfigDefault creates RemoveAppTraefikConfigDefault with default headers values.
NewRemoveAppTraefikConfigOK creates RemoveAppTraefikConfigOK with default headers values.
NewRemoveAppTraefikConfigParams creates a new RemoveAppTraefikConfigParams object no default values defined in spec.
NewStartApp creates a new http.Handler for the start app operation.
NewStartAppDefault creates StartAppDefault with default headers values.
NewStartAppNoContent creates StartAppNoContent with default headers values.
NewStartAppNotFound creates StartAppNotFound with default headers values.
NewStartAppParams creates a new StartAppParams object no default values defined in spec.
NewStopApp creates a new http.Handler for the stop app operation.
NewStopAppDefault creates StopAppDefault with default headers values.
NewStopAppNoContent creates StopAppNoContent with default headers values.
NewStopAppNotFound creates StopAppNotFound with default headers values.
NewStopAppParams creates a new StopAppParams object no default values defined in spec.
NewUninstallPlugin creates a new http.Handler for the uninstall plugin operation.
NewUninstallPluginDefault creates UninstallPluginDefault with default headers values.
NewUninstallPluginOK creates UninstallPluginOK with default headers values.
NewUninstallPluginParams creates a new UninstallPluginParams object no default values defined in spec.
NewUpdateAppEnv creates a new http.Handler for the update app env operation.
NewUpdateAppEnvBadRequest creates UpdateAppEnvBadRequest with default headers values.
NewUpdateAppEnvDefault creates UpdateAppEnvDefault with default headers values.
NewUpdateAppEnvNotFound creates UpdateAppEnvNotFound with default headers values.
NewUpdateAppEnvOK creates UpdateAppEnvOK with default headers values.
NewUpdateAppEnvParams creates a new UpdateAppEnvParams object no default values defined in spec.
NewUpdateAppTraefikConfig creates a new http.Handler for the update app traefik config operation.
NewUpdateAppTraefikConfigBadRequest creates UpdateAppTraefikConfigBadRequest with default headers values.
NewUpdateAppTraefikConfigDefault creates UpdateAppTraefikConfigDefault with default headers values.
NewUpdateAppTraefikConfigOK creates UpdateAppTraefikConfigOK with default headers values.
NewUpdateAppTraefikConfigParams creates a new UpdateAppTraefikConfigParams object no default values defined in spec.
NewUpdateRunConfig creates a new http.Handler for the update run config operation.
NewUpdateRunConfigBadRequest creates UpdateRunConfigBadRequest with default headers values.
NewUpdateRunConfigDefault creates UpdateRunConfigDefault with default headers values.
NewUpdateRunConfigNotFound creates UpdateRunConfigNotFound with default headers values.
NewUpdateRunConfigOK creates UpdateRunConfigOK with default headers values.
NewUpdateRunConfigParams creates a new UpdateRunConfigParams object no default values defined in spec.
NewUpgradeApp creates a new http.Handler for the upgrade app operation.
NewUpgradeAppBadRequest creates UpgradeAppBadRequest with default headers values.
NewUpgradeAppDefault creates UpgradeAppDefault with default headers values.
NewUpgradeAppNoContent creates UpgradeAppNoContent with default headers values.
NewUpgradeAppNotFound creates UpgradeAppNotFound with default headers values.
NewUpgradeAppParams creates a new UpgradeAppParams object no default values defined in spec.
# Constants
CreateAppBadRequestCode is the HTTP code returned for type CreateAppBadRequest.
CreateAppCreatedCode is the HTTP code returned for type CreateAppCreated.
DeleteAppNotFoundCode is the HTTP code returned for type DeleteAppNotFound.
DeleteAppOKCode is the HTTP code returned for type DeleteAppOK.
EditAppBadRequestCode is the HTTP code returned for type EditAppBadRequest.
EditAppNotFoundCode is the HTTP code returned for type EditAppNotFound.
EditAppOKCode is the HTTP code returned for type EditAppOK.
GetAppEnvNotFoundCode is the HTTP code returned for type GetAppEnvNotFound.
GetAppEnvOKCode is the HTTP code returned for type GetAppEnvOK.
GetAppNotFoundCode is the HTTP code returned for type GetAppNotFound.
GetAppOKCode is the HTTP code returned for type GetAppOK.
GetAppTraefikConfigBadRequestCode is the HTTP code returned for type GetAppTraefikConfigBadRequest.
GetAppTraefikConfigNotFoundCode is the HTTP code returned for type GetAppTraefikConfigNotFound.
GetAppTraefikConfigOKCode is the HTTP code returned for type GetAppTraefikConfigOK.
GetPluginNotFoundCode is the HTTP code returned for type GetPluginNotFound.
GetPluginOKCode is the HTTP code returned for type GetPluginOK.
GetRunConfigNotFoundCode is the HTTP code returned for type GetRunConfigNotFound.
GetRunConfigOKCode is the HTTP code returned for type GetRunConfigOK.
HealthCheckOKCode is the HTTP code returned for type HealthCheckOK.
InstallPluginCreatedCode is the HTTP code returned for type InstallPluginCreated.
ListAppsOKCode is the HTTP code returned for type ListAppsOK.
ListPluginsOKCode is the HTTP code returned for type ListPluginsOK.
RemoveAppTraefikConfigBadRequestCode is the HTTP code returned for type RemoveAppTraefikConfigBadRequest.
RemoveAppTraefikConfigOKCode is the HTTP code returned for type RemoveAppTraefikConfigOK.
StartAppNoContentCode is the HTTP code returned for type StartAppNoContent.
StartAppNotFoundCode is the HTTP code returned for type StartAppNotFound.
StopAppNoContentCode is the HTTP code returned for type StopAppNoContent.
StopAppNotFoundCode is the HTTP code returned for type StopAppNotFound.
UninstallPluginOKCode is the HTTP code returned for type UninstallPluginOK.
UpdateAppEnvBadRequestCode is the HTTP code returned for type UpdateAppEnvBadRequest.
UpdateAppEnvNotFoundCode is the HTTP code returned for type UpdateAppEnvNotFound.
UpdateAppEnvOKCode is the HTTP code returned for type UpdateAppEnvOK.
UpdateAppTraefikConfigBadRequestCode is the HTTP code returned for type UpdateAppTraefikConfigBadRequest.
UpdateAppTraefikConfigOKCode is the HTTP code returned for type UpdateAppTraefikConfigOK.
UpdateRunConfigBadRequestCode is the HTTP code returned for type UpdateRunConfigBadRequest.
UpdateRunConfigNotFoundCode is the HTTP code returned for type UpdateRunConfigNotFound.
UpdateRunConfigOKCode is the HTTP code returned for type UpdateRunConfigOK.
UpgradeAppBadRequestCode is the HTTP code returned for type UpgradeAppBadRequest.
UpgradeAppNoContentCode is the HTTP code returned for type UpgradeAppNoContent.
UpgradeAppNotFoundCode is the HTTP code returned for type UpgradeAppNotFound.
# Structs
CreateApp swagger:route POST /api/apps createApp
Create and start a new app
*/.
CreateAppBadRequest Bad Request
swagger:response createAppBadRequest
*/.
CreateAppCreated Created
swagger:response createAppCreated
*/.
CreateAppDefault Unknown Error
swagger:response createAppDefault
*/.
CreateAppParams contains all the bound params for the create app operation typically these are obtained from a http.Request
swagger:parameters createApp.
CreateAppURL generates an URL for the create app operation.
DeleteApp swagger:route DELETE /api/apps/{appName} deleteApp
Stop and delete an app
*/.
DeleteAppDefault Unknown Error
swagger:response deleteAppDefault
*/.
DeleteAppNotFound Not Found
swagger:response deleteAppNotFound
*/.
DeleteAppOK OK
swagger:response deleteAppOK
*/.
DeleteAppParams contains all the bound params for the delete app operation typically these are obtained from a http.Request
swagger:parameters deleteApp.
DeleteAppURL generates an URL for the delete app operation.
EditApp swagger:route PUT /api/apps/{appName} editApp
Edit the app details
*/.
EditAppBadRequest BadRequest
swagger:response editAppBadRequest
*/.
EditAppDefault Unknown Error
swagger:response editAppDefault
*/.
EditAppNotFound Not Found
swagger:response editAppNotFound
*/.
EditAppOK OK
swagger:response editAppOK
*/.
EditAppParams contains all the bound params for the edit app operation typically these are obtained from a http.Request
swagger:parameters editApp.
EditAppURL generates an URL for the edit app operation.
GetApp swagger:route GET /api/apps/{appName} getApp
Get an app by name
*/.
GetAppEnv swagger:route GET /api/apps/{appName}/env getAppEnv
get an app's environment variables
*/.
GetAppEnvDefault Unknown Error
swagger:response getAppEnvDefault
*/.
GetAppEnvNotFound Not Found
swagger:response getAppEnvNotFound
*/.
GetAppEnvOK OK
swagger:response getAppEnvOK
*/.
GetAppEnvParams contains all the bound params for the get app env operation typically these are obtained from a http.Request
swagger:parameters getAppEnv.
GetAppEnvURL generates an URL for the get app env operation.
GetAppNotFound Not Found
swagger:response getAppNotFound
*/.
GetAppOK OK
swagger:response getAppOK
*/.
GetAppParams contains all the bound params for the get app operation typically these are obtained from a http.Request
swagger:parameters getApp.
GetAppTraefikConfig swagger:route GET /api/plugins/traefik/{appId} getAppTraefikConfig
Get an app's routing config
*/.
GetAppTraefikConfigBadRequest Traefik plugin is not installed
swagger:response getAppTraefikConfigBadRequest
*/.
GetAppTraefikConfigDefault Unknown Error
swagger:response getAppTraefikConfigDefault
*/.
GetAppTraefikConfigNotFound No config for the app
swagger:response getAppTraefikConfigNotFound
*/.
GetAppTraefikConfigOK Found and returned the config
swagger:response getAppTraefikConfigOK
*/.
GetAppTraefikConfigParams contains all the bound params for the get app traefik config operation typically these are obtained from a http.Request
swagger:parameters getAppTraefikConfig.
GetAppTraefikConfigURL generates an URL for the get app traefik config operation.
GetAppURL generates an URL for the get app operation.
GetPlugin swagger:route GET /api/plugins/{pluginName} getPlugin
Get a plugin
*/.
GetPluginDefault Unknown Error
swagger:response getPluginDefault
*/.
GetPluginNotFound Not Found
swagger:response getPluginNotFound
*/.
GetPluginOK Created
swagger:response getPluginOK
*/.
GetPluginParams contains all the bound params for the get plugin operation typically these are obtained from a http.Request
swagger:parameters getPlugin.
GetPluginURL generates an URL for the get plugin operation.
GetRunConfig swagger:route GET /api/apps/{appName}/config getRunConfig
get an app's current config
*/.
GetRunConfigDefault Unknown Error
swagger:response getRunConfigDefault
*/.
GetRunConfigNotFound Not Found
swagger:response getRunConfigNotFound
*/.
GetRunConfigOK OK
swagger:response getRunConfigOK
*/.
GetRunConfigParams contains all the bound params for the get run config operation typically these are obtained from a http.Request
swagger:parameters getRunConfig.
GetRunConfigURL generates an URL for the get run config operation.
HealthCheck swagger:route GET /api/health healthCheck
Standard health check endpoint that checks all the service's statuses
*/.
HealthCheckOK OK
swagger:response healthCheckOK
*/.
HealthCheckParams contains all the bound params for the health check operation typically these are obtained from a http.Request
swagger:parameters healthCheck.
HealthCheckURL generates an URL for the health check operation.
InstallPlugin swagger:route POST /api/plugins/{pluginName} installPlugin
Install (and start) a plugin
*/.
InstallPluginCreated Created
swagger:response installPluginCreated
*/.
InstallPluginDefault Unknown Error
swagger:response installPluginDefault
*/.
InstallPluginParams contains all the bound params for the install plugin operation typically these are obtained from a http.Request
swagger:parameters installPlugin.
InstallPluginURL generates an URL for the install plugin operation.
ListApps swagger:route GET /api/apps listApps
List all the running apps
*/.
ListAppsDefault Unknown Error
swagger:response listAppsDefault
*/.
ListAppsOK OK
swagger:response listAppsOK
*/.
ListAppsParams contains all the bound params for the list apps operation typically these are obtained from a http.Request
swagger:parameters listApps.
ListAppsURL generates an URL for the list apps operation.
ListPlugins swagger:route GET /api/plugins listPlugins
List all available plugins and if they are installed
*/.
ListPluginsDefault Unknown Error
swagger:response listPluginsDefault
*/.
ListPluginsOK OK
swagger:response listPluginsOK
*/.
ListPluginsParams contains all the bound params for the list plugins operation typically these are obtained from a http.Request
swagger:parameters listPlugins.
ListPluginsURL generates an URL for the list plugins operation.
MiasmaAPI the miasma API */.
RemoveAppTraefikConfig swagger:route DELETE /api/plugins/traefik/{appId} removeAppTraefikConfig
Removes an app's routing config
*/.
RemoveAppTraefikConfigBadRequest Traefik plugin is not installed
swagger:response removeAppTraefikConfigBadRequest
*/.
RemoveAppTraefikConfigDefault Unknown Error
swagger:response removeAppTraefikConfigDefault
*/.
RemoveAppTraefikConfigOK Created
swagger:response removeAppTraefikConfigOK
*/.
RemoveAppTraefikConfigParams contains all the bound params for the remove app traefik config operation typically these are obtained from a http.Request
swagger:parameters removeAppTraefikConfig.
RemoveAppTraefikConfigURL generates an URL for the remove app traefik config operation.
StartApp swagger:route POST /api/apps/{appName}/start startApp
start the app
*/.
StartAppDefault Unknown Error
swagger:response startAppDefault
*/.
StartAppNoContent Started
swagger:response startAppNoContent
*/.
StartAppNotFound Not Found
swagger:response startAppNotFound
*/.
StartAppParams contains all the bound params for the start app operation typically these are obtained from a http.Request
swagger:parameters startApp.
StartAppURL generates an URL for the start app operation.
StopApp swagger:route POST /api/apps/{appName}/stop stopApp
stop the app
*/.
StopAppDefault Unknown Error
swagger:response stopAppDefault
*/.
StopAppNoContent Stopped
swagger:response stopAppNoContent
*/.
StopAppNotFound Not Found
swagger:response stopAppNotFound
*/.
StopAppParams contains all the bound params for the stop app operation typically these are obtained from a http.Request
swagger:parameters stopApp.
StopAppURL generates an URL for the stop app operation.
UninstallPlugin swagger:route DELETE /api/plugins/{pluginName} uninstallPlugin
Stop and uninstall a plugin
*/.
UninstallPluginDefault Unknown Error
swagger:response uninstallPluginDefault
*/.
UninstallPluginOK Created
swagger:response uninstallPluginOK
*/.
UninstallPluginParams contains all the bound params for the uninstall plugin operation typically these are obtained from a http.Request
swagger:parameters uninstallPlugin.
UninstallPluginURL generates an URL for the uninstall plugin operation.
UpdateAppEnv swagger:route PUT /api/apps/{appName}/env updateAppEnv
update an app's env
*/.
UpdateAppEnvBadRequest Bad Request
swagger:response updateAppEnvBadRequest
*/.
UpdateAppEnvDefault Unknown Error
swagger:response updateAppEnvDefault
*/.
UpdateAppEnvNotFound Not Found
swagger:response updateAppEnvNotFound
*/.
UpdateAppEnvOK OK
swagger:response updateAppEnvOK
*/.
UpdateAppEnvParams contains all the bound params for the update app env operation typically these are obtained from a http.Request
swagger:parameters updateAppEnv.
UpdateAppEnvURL generates an URL for the update app env operation.
UpdateAppTraefikConfig swagger:route PUT /api/plugins/traefik/{appId} updateAppTraefikConfig
Update an app's routing config
*/.
UpdateAppTraefikConfigBadRequest Traefik plugin is not installed
swagger:response updateAppTraefikConfigBadRequest
*/.
UpdateAppTraefikConfigDefault Unknown Error
swagger:response updateAppTraefikConfigDefault
*/.
UpdateAppTraefikConfigOK Created
swagger:response updateAppTraefikConfigOK
*/.
UpdateAppTraefikConfigParams contains all the bound params for the update app traefik config operation typically these are obtained from a http.Request
swagger:parameters updateAppTraefikConfig.
UpdateAppTraefikConfigURL generates an URL for the update app traefik config operation.
UpdateRunConfig swagger:route PUT /api/apps/{appName}/config updateRunConfig
update an app's config
*/.
UpdateRunConfigBadRequest Bad Request
swagger:response updateRunConfigBadRequest
*/.
UpdateRunConfigDefault Unknown Error
swagger:response updateRunConfigDefault
*/.
UpdateRunConfigNotFound Not Found
swagger:response updateRunConfigNotFound
*/.
UpdateRunConfigOK OK
swagger:response updateRunConfigOK
*/.
UpdateRunConfigParams contains all the bound params for the update run config operation typically these are obtained from a http.Request
swagger:parameters updateRunConfig.
UpdateRunConfigURL generates an URL for the update run config operation.
UpgradeApp swagger:route PUT /api/apps/{appName}/upgrade upgradeApp
pull the app's image and restart it
*/.
UpgradeAppBadRequest Bad Request
swagger:response upgradeAppBadRequest
*/.
UpgradeAppDefault Unknown Error
swagger:response upgradeAppDefault
*/.
UpgradeAppNoContent Upgrade success
swagger:response upgradeAppNoContent
*/.
UpgradeAppNotFound Not Found
swagger:response upgradeAppNotFound
*/.
UpgradeAppParams contains all the bound params for the upgrade app operation typically these are obtained from a http.Request
swagger:parameters upgradeApp.
UpgradeAppURL generates an URL for the upgrade app operation.
# Interfaces
CreateAppHandler interface for that can handle valid create app params.
DeleteAppHandler interface for that can handle valid delete app params.
EditAppHandler interface for that can handle valid edit app params.
GetAppEnvHandler interface for that can handle valid get app env params.
GetAppHandler interface for that can handle valid get app params.
GetAppTraefikConfigHandler interface for that can handle valid get app traefik config params.
GetPluginHandler interface for that can handle valid get plugin params.
GetRunConfigHandler interface for that can handle valid get run config params.
HealthCheckHandler interface for that can handle valid health check params.
InstallPluginHandler interface for that can handle valid install plugin params.
ListAppsHandler interface for that can handle valid list apps params.
ListPluginsHandler interface for that can handle valid list plugins params.
RemoveAppTraefikConfigHandler interface for that can handle valid remove app traefik config params.
StartAppHandler interface for that can handle valid start app params.
StopAppHandler interface for that can handle valid stop app params.
UninstallPluginHandler interface for that can handle valid uninstall plugin params.
UpdateAppEnvHandler interface for that can handle valid update app env params.
UpdateAppTraefikConfigHandler interface for that can handle valid update app traefik config params.
UpdateRunConfigHandler interface for that can handle valid update run config params.
UpgradeAppHandler interface for that can handle valid upgrade app params.
# Type aliases
CreateAppHandlerFunc turns a function with the right signature into a create app handler.
DeleteAppHandlerFunc turns a function with the right signature into a delete app handler.
EditAppHandlerFunc turns a function with the right signature into a edit app handler.
GetAppEnvHandlerFunc turns a function with the right signature into a get app env handler.
GetAppHandlerFunc turns a function with the right signature into a get app handler.
GetAppTraefikConfigHandlerFunc turns a function with the right signature into a get app traefik config handler.
GetPluginHandlerFunc turns a function with the right signature into a get plugin handler.
GetRunConfigHandlerFunc turns a function with the right signature into a get run config handler.
HealthCheckHandlerFunc turns a function with the right signature into a health check handler.
InstallPluginHandlerFunc turns a function with the right signature into a install plugin handler.
ListAppsHandlerFunc turns a function with the right signature into a list apps handler.
ListPluginsHandlerFunc turns a function with the right signature into a list plugins handler.
RemoveAppTraefikConfigHandlerFunc turns a function with the right signature into a remove app traefik config handler.
StartAppHandlerFunc turns a function with the right signature into a start app handler.
StopAppHandlerFunc turns a function with the right signature into a stop app handler.
UninstallPluginHandlerFunc turns a function with the right signature into a uninstall plugin handler.
UpdateAppEnvHandlerFunc turns a function with the right signature into a update app env handler.
UpdateAppTraefikConfigHandlerFunc turns a function with the right signature into a update app traefik config handler.
UpdateRunConfigHandlerFunc turns a function with the right signature into a update run config handler.
UpgradeAppHandlerFunc turns a function with the right signature into a upgrade app handler.