Skip to main content

IOperatorHubCallbacks

Namespace: Meshmakers.Octo.Communication.Contracts.Hubs

Callback interface for operator management connections. The Communication Controller calls these methods on connected operators to notify them of tenant lifecycle events.

public interface IOperatorHubCallbacks

Methods

TenantCreatedAsync(String)

Called when a new tenant is created and communication should be set up. The operator should create a CommunicationPool CR for this tenant.

Task TenantCreatedAsync(string tenantId)

Parameters

tenantId String

Returns

Task

TenantDeletedAsync(String)

Called before a tenant is deleted and communication should be torn down. The operator should delete the CommunicationPool CR for this tenant.

Task TenantDeletedAsync(string tenantId)

Parameters

tenantId String

Returns

Task