tgstation-server 6.12.3
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IEngineClient.cs
Go to the documentation of this file.
1using System.Collections.Generic;
2using System.IO;
3using System.Threading;
4using System.Threading.Tasks;
5
8
10{
14 public interface IEngineClient
15 {
21 ValueTask<EngineResponse> ActiveVersion(CancellationToken cancellationToken);
22
29 ValueTask<List<EngineResponse>> InstalledVersions(PaginationSettings? paginationSettings, CancellationToken cancellationToken);
30
38 ValueTask<EngineInstallResponse> SetActiveVersion(EngineVersionRequest installRequest, Stream? zipFileStream, CancellationToken cancellationToken);
39
46 ValueTask<JobResponse> DeleteVersion(EngineVersionDeleteRequest deleteRequest, CancellationToken cancellationToken);
47 }
48}
A request to switch to a given EngineVersion.
Settings for a paginated request.
For managing the engine installations.
ValueTask< EngineInstallResponse > SetActiveVersion(EngineVersionRequest installRequest, Stream? zipFileStream, CancellationToken cancellationToken)
Updates the active engine version.
ValueTask< List< EngineResponse > > InstalledVersions(PaginationSettings? paginationSettings, CancellationToken cancellationToken)
Get all installed EngineInstallResponse System.Versions.
ValueTask< JobResponse > DeleteVersion(EngineVersionDeleteRequest deleteRequest, CancellationToken cancellationToken)
Starts a job to delete a specific engine version.
ValueTask< EngineResponse > ActiveVersion(CancellationToken cancellationToken)
Get the EngineInstallResponse active Api.Models.EngineVersion.