tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Client
Components
IRepositoryClient.cs
Go to the documentation of this file.
1
using
System.Threading;
2
using
System.Threading.Tasks;
3
4
using
Tgstation.Server.Api.Models.Request
;
5
using
Tgstation.Server.Api.Models.Response
;
6
7
namespace
Tgstation.Server.Client.Components
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
}
Tgstation.Server.Api.Models.Request.RepositoryCreateRequest
Represents a request to clone the repository.
Definition
RepositoryCreateRequest.cs:11
Tgstation.Server.Api.Models.Request.RepositoryUpdateRequest
Represents a request to change the repository.
Definition
RepositoryUpdateRequest.cs:12
Tgstation.Server.Client.Components.IRepositoryClient
For managing the git repository.
Definition
IRepositoryClient.cs:13
Tgstation.Server.Client.Components.IRepositoryClient.Update
ValueTask< RepositoryResponse > Update(RepositoryUpdateRequest repository, CancellationToken cancellationToken)
Update the repository.
Tgstation.Server.Client.Components.IRepositoryClient.Reclone
ValueTask< RepositoryResponse > Reclone(CancellationToken cancellationToken)
Deletes and reclones the repository.
Tgstation.Server.Client.Components.IRepositoryClient.Clone
ValueTask< RepositoryResponse > Clone(RepositoryCreateRequest repository, CancellationToken cancellationToken)
Clones a repository .
Tgstation.Server.Client.Components.IRepositoryClient.Read
ValueTask< RepositoryResponse > Read(CancellationToken cancellationToken)
Get the repository's current status.
Tgstation.Server.Client.Components.IRepositoryClient.Delete
ValueTask< RepositoryResponse > Delete(CancellationToken cancellationToken)
Deletes the repository.
Tgstation.Server.Api.Models.Request
Definition
ChatBotCreateRequest.cs:4
Tgstation.Server.Api.Models.Response
Definition
AdministrationResponse.cs:6
Tgstation.Server.Client.Components
Definition
ChatBotsClient.cs:12
Generated by
1.9.8