Module apps

Source
Expand description

Application management module for handling CRUD operations on applications.

This module provides a REST API for managing applications, including:

  • Listing applications
  • Creating new applications
  • Updating existing applications
  • Getting application details and statistics
  • Starting and stopping applications
  • Scaling applications
  • Deleting applications
  • Releasing new versions of applications

Structs§

AppStats
Statistics for an application’s resource usage and performance.
Application
Represents an application in the system.
CreateAppRequest
Request data for creating a new application.
ScaleRequest
Request data for scaling an application.
UpdateAppRequest
Request data for updating an existing application.

Functions§

count_apps
Count the total number of applications.
create_app
Create a new application.
delete_app
Delete a specific application.
get_app
Get a specific application by ID.
get_app_stats
Get statistics for a specific application.
get_app_with_instances
Get app with instances
list_apps
List all applications with pagination support.
list_instances
release
Releases a new version of the target application by uploading an artifact. TODO: @tristanpoland Review if we actually need this or should drop in favor of using the deploy route.
scale_app
Scale a specific application.
start_app
Start a specific application.
stop_app
Stop a specific application.
update_app
Update an existing application.