tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IRepositoryClient.cs
Go to the documentation of this file.
1using System.Threading;
2using System.Threading.Tasks;
3
6
8{
12 public interface IRepositoryClient
13 {
19 ValueTask<RepositoryResponse> Read(CancellationToken cancellationToken);
20
27 ValueTask<RepositoryResponse> Update(RepositoryUpdateRequest repository, CancellationToken cancellationToken);
28
35 ValueTask<RepositoryResponse> Clone(RepositoryCreateRequest repository, CancellationToken cancellationToken);
36
42 ValueTask<RepositoryResponse> Delete(CancellationToken cancellationToken);
43
49 ValueTask<RepositoryResponse> Reclone(CancellationToken cancellationToken);
50 }
51}
ValueTask< RepositoryResponse > Update(RepositoryUpdateRequest repository, CancellationToken cancellationToken)
Update the repository.
ValueTask< RepositoryResponse > Reclone(CancellationToken cancellationToken)
Deletes and reclones the repository.
ValueTask< RepositoryResponse > Clone(RepositoryCreateRequest repository, CancellationToken cancellationToken)
Clones a repository .
ValueTask< RepositoryResponse > Read(CancellationToken cancellationToken)
Get the repository's current status.
ValueTask< RepositoryResponse > Delete(CancellationToken cancellationToken)
Deletes the repository.