You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
446 B
PHP
17 lines
446 B
PHP
<?php
|
|
|
|
namespace App\Controllers;
|
|
|
|
use App\Services\Cloud\CloudAccess;
|
|
use App\Services\Cloud\CloudRuntimeHealthService;
|
|
|
|
final class CloudAdminRuntimeController
|
|
{
|
|
public function index($request, $response)
|
|
{
|
|
return $response->withJson((new CloudRuntimeHealthService())->snapshot(
|
|
$request->getAttribute('cloud_actor') ?? CloudAccess::actor(false)
|
|
))->withHeader('Cache-Control', 'private, no-store');
|
|
}
|
|
}
|