Files
coolify/app/Enums/V5/ContainerState.php
T
Andras Bacsai 6ae45684f9 feat(v5): add server reconciliation and canvas APIs
Split V5 dashboard behavior into domain controllers and policies,
add agent token rotation/revocation, status reconciliation jobs,
ingress firewall syncing, and canvas connection APIs.

Add migrations for V5 status tracking, server capabilities, resource
connection aliases, and revoked agent tokens.
2026-07-06 17:40:37 +02:00

27 lines
696 B
PHP

<?php
namespace App\Enums\V5;
/**
* Runtime states persisted on `v5_container_statuses.status`.
*
* Named ContainerState (not ContainerStatus) to avoid clashing with the
* App\Models\V5\ContainerStatus Eloquent model. Covers the Docker and Podman
* container states reported by coold.
*/
enum ContainerState: string
{
case Configured = 'configured';
case Created = 'created';
case Starting = 'starting';
case Running = 'running';
case Restarting = 'restarting';
case Paused = 'paused';
case Removing = 'removing';
case Stopping = 'stopping';
case Stopped = 'stopped';
case Exited = 'exited';
case Dead = 'dead';
case Unknown = 'unknown';
}