mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
v4.7 (#12478)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Co-authored-by: Aditya Tripathi <aditya@climactic.co>
This commit is contained in:
co-authored by
Claude Opus 5.5
peaklabs-dev
Aditya Tripathi
parent
b7dc2e435b
commit
033f0c84da
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\ImageScan;
|
||||
|
||||
use App\Enums\ImageScanOnError;
|
||||
use App\Models\Server;
|
||||
|
||||
/**
|
||||
* The scan rules of one resource after inheritance.
|
||||
*/
|
||||
final readonly class ResolvedImageScanPolicy
|
||||
{
|
||||
/**
|
||||
* @param array{gate_mode: string, on_scan_error: string, count_medium: string} $sources Level each value came from: instance, team, server or app.
|
||||
*/
|
||||
public function __construct(
|
||||
public string $gateMode,
|
||||
public ImageScanOnError $onScanError,
|
||||
public bool $scanEnabled,
|
||||
public array $sources,
|
||||
public ?Server $scanServer,
|
||||
public bool $countMedium = false,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user