Implement Keystone environment deployments
This commit is contained in:
21
app/Drivers/Concerns/SupportsSlices.php
Normal file
21
app/Drivers/Concerns/SupportsSlices.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Drivers\Concerns;
|
||||
|
||||
use App\Enums\EnvironmentAttachmentRole;
|
||||
use App\Models\ServiceSlice;
|
||||
|
||||
interface SupportsSlices
|
||||
{
|
||||
/**
|
||||
* @return array<int, string>
|
||||
*/
|
||||
public function supportedSliceTypes(): array;
|
||||
|
||||
/**
|
||||
* @return array<string, string>
|
||||
*/
|
||||
public function environmentExportsForSlice(ServiceSlice $slice, ?EnvironmentAttachmentRole $role = null): array;
|
||||
|
||||
public function provisionSliceScript(ServiceSlice $slice): string;
|
||||
}
|
||||
Reference in New Issue
Block a user