OPC # 0001: Extract OPC into standalone repo
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace ControlPlane.Core.Models;
|
||||
|
||||
/// <summary>
|
||||
/// Defines where a specific infrastructure component (Postgres, Keycloak, Vault, MinIO)
|
||||
/// is hosted for a given tenant. Each component in a StackConfig is configured independently.
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public enum ComponentMode
|
||||
{
|
||||
/// <summary>Shared platform instance — logical slice only (realm, schema, bucket, namespace).</summary>
|
||||
SharedPlatform,
|
||||
|
||||
/// <summary>Baked into the app image itself via supervisord. Trial tier only.</summary>
|
||||
Bundled,
|
||||
|
||||
/// <summary>Own sidecar container on ControlPlane's shared Docker host.</summary>
|
||||
OwnContainer,
|
||||
|
||||
/// <summary>Own VM with the component running inside Docker on it.</summary>
|
||||
VpsDocker,
|
||||
|
||||
/// <summary>Own VM with the component running as a native OS process (no Docker).</summary>
|
||||
VpsBareMetal
|
||||
}
|
||||
Reference in New Issue
Block a user