Nebula
Storage

SqlControlPlaneStorage

IControlPlaneStorage in the orchestrator's database: the document sits in the single row of nebula_control_plane, replaced on every save.

generated from the sources
public sealed class SqlControlPlaneStorage : IControlPlaneStorage, IGatewaySessionStore, IScopeStore

IControlPlaneStorage in the orchestrator's database: the document sits in the single row of nebula_control_plane, replaced on every save. Each call opens its own connection (pooled), so the host's background save and the persistence store's writer never share one.

Constructors

SqlControlPlaneStorage

public SqlControlPlaneStorage(NebulaDatabase db);

Properties

Backend

public string Backend { get; }

Methods

Load

public string Load();

Save

public void Save(string json);

Dispose

public void Dispose();

On this page