Files
coolify/docs/v5/archive/app/Enums/V5/ContainerState.php.txt
T
Andras Bacsai 76030a30d4 chore(v5): archive V5 implementation and remove runtime integration
Move V5 source, migrations, UI, scripts, and tests into documentation, then remove V5 routes, models, jobs, configuration, dependencies, and application hooks.
2026-08-15 19:13:30 +02:00

27 lines
696 B
Plaintext

<?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';
}