Table of Contents

Interface IGroupExistenceCheck

Namespace
Virtufin.Api.Services
Assembly
Virtufin.Api.dll

Whether the groups a trigger is put into exist (resource-groups, Membership in Several Groups: every named group SHALL exist). WorkManagerGroupCheck asks the WorkManager, which keeps the groups.

public interface IGroupExistenceCheck

Methods

EnsureExistAsync(IReadOnlyCollection<string>, CancellationToken)

Throws, for the first of groups that does not exist, FAILED_PRECONDITION with reason GroupNotFound and the group as resource; for one being deleted, reason Deleting.

Task EnsureExistAsync(IReadOnlyCollection<string> groups, CancellationToken cancellationToken)

Parameters

groups IReadOnlyCollection<string>
cancellationToken CancellationToken

Returns

Task