mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-24 21:46:52 +01:00
155 lines
30 KiB
HTML
155 lines
30 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>tgstation-server: src/Tgstation.Server.Client/Components/RepositoryClient.cs Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">tgstation-server<span id="projectnumber"> 6.19.3</span>
|
|
</div>
|
|
<div id="projectbrief">The /tg/station 13 server suite</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.8 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function() { init_codefold(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_9826fb2d31585a830723e6d7089b5d0e.html">Tgstation.Server.Client</a></li><li class="navelem"><a class="el" href="dir_6c60df807dd2523776d391746c262b4d.html">Components</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">RepositoryClient.cs</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="_repository_client_8cs.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="keyword">using </span>System;</div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="keyword">using </span>System.Threading;</div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="keyword">using </span>System.Threading.Tasks;</div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span> </div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="keyword">using </span><a class="code hl_namespace" href="namespace_tgstation_1_1_server_1_1_api.html">Tgstation.Server.Api</a>;</div>
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="keyword">using </span><a class="code hl_namespace" href="namespace_tgstation_1_1_server_1_1_api_1_1_models.html">Tgstation.Server.Api.Models</a>;</div>
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="keyword">using </span><a class="code hl_namespace" href="namespace_tgstation_1_1_server_1_1_api_1_1_models_1_1_request.html">Tgstation.Server.Api.Models.Request</a>;</div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="keyword">using </span><a class="code hl_namespace" href="namespace_tgstation_1_1_server_1_1_api_1_1_models_1_1_response.html">Tgstation.Server.Api.Models.Response</a>;</div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div>
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespace_tgstation_1_1_server_1_1_client_1_1_components.html">Tgstation.Server.Client.Components</a></div>
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span>{</div>
|
|
<div class="foldopen" id="foldopen00013" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html"> 13</a></span> <span class="keyword">sealed</span> <span class="keyword">class </span><a class="code hl_class" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html">RepositoryClient</a> : <a class="code hl_interface" href="interface_tgstation_1_1_server_1_1_client_1_1_components_1_1_i_repository_client.html">IRepositoryClient</a></div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> {</div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a34759d9d0d89eab5def2d32cc90b7736"> 18</a></span> readonly <a class="code hl_interface" href="interface_tgstation_1_1_server_1_1_client_1_1_i_api_client.html">IApiClient</a> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a34759d9d0d89eab5def2d32cc90b7736">apiClient</a>;</div>
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a3af323ae0b97782b3917673b8d239af8"> 23</a></span> readonly <a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_instance.html">Instance</a> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a3af323ae0b97782b3917673b8d239af8">instance</a>;</div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
|
|
<div class="foldopen" id="foldopen00030" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#aa7ff208124be2377aa50b40f63aad06c"> 30</a></span> <span class="keyword">public</span> <a class="code hl_function" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#aa7ff208124be2377aa50b40f63aad06c">RepositoryClient</a>(<a class="code hl_interface" href="interface_tgstation_1_1_server_1_1_client_1_1_i_api_client.html">IApiClient</a> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a34759d9d0d89eab5def2d32cc90b7736">apiClient</a>, <a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_instance.html">Instance</a> <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a3af323ae0b97782b3917673b8d239af8">instance</a>)</div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> {</div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> this.apiClient = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a34759d9d0d89eab5def2d32cc90b7736">apiClient</a>;</div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> this.instance = <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a3af323ae0b97782b3917673b8d239af8">instance</a>;</div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a7e4e98816f7067178b797da76ba24e51"> 37</a></span> <span class="keyword">public</span> ValueTask<RepositoryResponse> <a class="code hl_function" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a7e4e98816f7067178b797da76ba24e51">Clone</a>(<a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_request_1_1_repository_create_request.html">RepositoryCreateRequest</a> repository, CancellationToken cancellationToken) => <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a34759d9d0d89eab5def2d32cc90b7736">apiClient</a>.Create<<a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_request_1_1_repository_create_request.html">RepositoryCreateRequest</a>, <a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_response_1_1_repository_response.html">RepositoryResponse</a>>(<a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html">Routes</a>.<a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a738817663facf9293a084ab4c5a155ef">Repository</a>, repository, <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a3af323ae0b97782b3917673b8d239af8">instance</a>.<a class="code hl_property" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_entity_id.html#ae31e478e1d338b37a14565df6fd58570">Id</a>!.Value, cancellationToken);</div>
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> </div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#afa98120a595d85eecb95c94a366ad5f5"> 40</a></span> <span class="keyword">public</span> ValueTask<RepositoryResponse> <a class="code hl_function" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#afa98120a595d85eecb95c94a366ad5f5">Delete</a>(CancellationToken cancellationToken) => <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a34759d9d0d89eab5def2d32cc90b7736">apiClient</a>.<a class="code hl_function" href="interface_tgstation_1_1_server_1_1_client_1_1_i_api_client.html#a6120f26a5fd0cf6319b11d4249296b47">Delete</a><<a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_response_1_1_repository_response.html">RepositoryResponse</a>>(<a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html">Routes</a>.<a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a738817663facf9293a084ab4c5a155ef">Repository</a>, <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a3af323ae0b97782b3917673b8d239af8">instance</a>.<a class="code hl_property" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_entity_id.html#ae31e478e1d338b37a14565df6fd58570">Id</a>!.Value, cancellationToken);</div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#aa548b83e3386d7548e102e5e44175ee5"> 43</a></span> <span class="keyword">public</span> ValueTask<RepositoryResponse> <a class="code hl_function" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#aa548b83e3386d7548e102e5e44175ee5">Read</a>(CancellationToken cancellationToken) => <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a34759d9d0d89eab5def2d32cc90b7736">apiClient</a>.Read<<a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_response_1_1_repository_response.html">RepositoryResponse</a>>(<a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html">Routes</a>.<a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a738817663facf9293a084ab4c5a155ef">Repository</a>, <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a3af323ae0b97782b3917673b8d239af8">instance</a>.<a class="code hl_property" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_entity_id.html#ae31e478e1d338b37a14565df6fd58570">Id</a>!.Value, cancellationToken);</div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#ae7c89ad2c1536f9ddf7a811774955bc3"> 46</a></span> <span class="keyword">public</span> ValueTask<RepositoryResponse> <a class="code hl_function" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#acb876ffe0cd811d9fa1a590d9e15f4f5">Update</a>(<a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_request_1_1_repository_update_request.html">RepositoryUpdateRequest</a> repository, CancellationToken cancellationToken) => <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a34759d9d0d89eab5def2d32cc90b7736">apiClient</a>.Update<<a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_request_1_1_repository_update_request.html">RepositoryUpdateRequest</a>, <a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_response_1_1_repository_response.html">RepositoryResponse</a>>(<a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html">Routes</a>.<a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a738817663facf9293a084ab4c5a155ef">Repository</a>, repository ?? <span class="keywordflow">throw</span> <span class="keyword">new</span> ArgumentNullException(nameof(repository)), <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a3af323ae0b97782b3917673b8d239af8">instance</a>.<a class="code hl_property" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_entity_id.html#ae31e478e1d338b37a14565df6fd58570">Id</a>!.Value, cancellationToken);</div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a2433308dd067a4ae18c077c3ccd72a6d"> 49</a></span> <span class="keyword">public</span> ValueTask<RepositoryResponse> <a class="code hl_function" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a2433308dd067a4ae18c077c3ccd72a6d">Reclone</a>(CancellationToken cancellationToken) => <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a34759d9d0d89eab5def2d32cc90b7736">apiClient</a>.<a class="code hl_function" href="interface_tgstation_1_1_server_1_1_client_1_1_i_api_client.html#a3e243ce6c09deb68c28dccd05a8d50ca">Patch</a><<a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_response_1_1_repository_response.html">RepositoryResponse</a>>(<a class="code hl_class" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html">Routes</a>.<a class="code hl_variable" href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a738817663facf9293a084ab4c5a155ef">Repository</a>, <a class="code hl_variable" href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a3af323ae0b97782b3917673b8d239af8">instance</a>.<a class="code hl_property" href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_entity_id.html#ae31e478e1d338b37a14565df6fd58570">Id</a>!.Value, cancellationToken);</div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span>}</div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_models_1_1_entity_id_html_ae31e478e1d338b37a14565df6fd58570"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_entity_id.html#ae31e478e1d338b37a14565df6fd58570">Tgstation.Server.Api.Models.EntityId.Id</a></div><div class="ttdeci">virtual ? long Id</div><div class="ttdoc">The ID of the entity.</div><div class="ttdef"><b>Definition</b> <a href="_entity_id_8cs_source.html#l00014">EntityId.cs:14</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_models_1_1_instance_html"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_instance.html">Tgstation.Server.Api.Models.Instance</a></div><div class="ttdoc">Metadata about a server instance.</div><div class="ttdef"><b>Definition</b> <a href="_tgstation_8_server_8_api_2_models_2_instance_8cs_source.html#l00008">Instance.cs:9</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_models_1_1_request_1_1_repository_create_request_html"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_request_1_1_repository_create_request.html">Tgstation.Server.Api.Models.Request.RepositoryCreateRequest</a></div><div class="ttdoc">Represents a request to clone the repository.</div><div class="ttdef"><b>Definition</b> <a href="_repository_create_request_8cs_source.html#l00010">RepositoryCreateRequest.cs:11</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_models_1_1_request_1_1_repository_update_request_html"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_request_1_1_repository_update_request.html">Tgstation.Server.Api.Models.Request.RepositoryUpdateRequest</a></div><div class="ttdoc">Represents a request to change the repository.</div><div class="ttdef"><b>Definition</b> <a href="_repository_update_request_8cs_source.html#l00011">RepositoryUpdateRequest.cs:12</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_models_1_1_response_1_1_repository_response_html"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_models_1_1_response_1_1_repository_response.html">Tgstation.Server.Api.Models.Response.RepositoryResponse</a></div><div class="ttdoc">Represents a git repository.</div><div class="ttdef"><b>Definition</b> <a href="_repository_response_8cs_source.html#l00010">RepositoryResponse.cs:11</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html">Tgstation.Server.Api.Routes</a></div><div class="ttdoc">Routes to a server actions.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00008">Routes.cs:9</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_api_1_1_routes_html_a738817663facf9293a084ab4c5a155ef"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_api_1_1_routes.html#a738817663facf9293a084ab4c5a155ef">Tgstation.Server.Api.Routes.Repository</a></div><div class="ttdeci">const string Repository</div><div class="ttdoc">The git repository controller.</div><div class="ttdef"><b>Definition</b> <a href="_routes_8cs_source.html#l00058">Routes.cs:58</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client_html"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html">Tgstation.Server.Client.Components.RepositoryClient</a></div><div class="ttdef"><b>Definition</b> <a href="_repository_client_8cs_source.html#l00013">RepositoryClient.cs:14</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client_html_a2433308dd067a4ae18c077c3ccd72a6d"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a2433308dd067a4ae18c077c3ccd72a6d">Tgstation.Server.Client.Components.RepositoryClient.Reclone</a></div><div class="ttdeci">ValueTask< RepositoryResponse > Reclone(CancellationToken cancellationToken)</div><div class="ttdoc">Deletes and reclones the repository.A ValueTask<TResult> resulting in the RepositoryResponse.</div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client_html_a34759d9d0d89eab5def2d32cc90b7736"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a34759d9d0d89eab5def2d32cc90b7736">Tgstation.Server.Client.Components.RepositoryClient.apiClient</a></div><div class="ttdeci">readonly IApiClient apiClient</div><div class="ttdoc">The IApiClient for the RepositoryClient.</div><div class="ttdef"><b>Definition</b> <a href="_repository_client_8cs_source.html#l00018">RepositoryClient.cs:18</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client_html_a3af323ae0b97782b3917673b8d239af8"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a3af323ae0b97782b3917673b8d239af8">Tgstation.Server.Client.Components.RepositoryClient.instance</a></div><div class="ttdeci">readonly Instance instance</div><div class="ttdoc">The Instance for the RepositoryClient.</div><div class="ttdef"><b>Definition</b> <a href="_repository_client_8cs_source.html#l00023">RepositoryClient.cs:23</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client_html_a7e4e98816f7067178b797da76ba24e51"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#a7e4e98816f7067178b797da76ba24e51">Tgstation.Server.Client.Components.RepositoryClient.Clone</a></div><div class="ttdeci">ValueTask< RepositoryResponse > Clone(RepositoryCreateRequest repository, CancellationToken cancellationToken)</div><div class="ttdoc">Clones a repository .A ValueTask<TResult> resulting in the RepositoryResponse/.</div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client_html_aa548b83e3386d7548e102e5e44175ee5"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#aa548b83e3386d7548e102e5e44175ee5">Tgstation.Server.Client.Components.RepositoryClient.Read</a></div><div class="ttdeci">ValueTask< RepositoryResponse > Read(CancellationToken cancellationToken)</div><div class="ttdoc">Get the repository's current status.A ValueTask<TResult> resulting in the RepositoryResponse.</div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client_html_aa7ff208124be2377aa50b40f63aad06c"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#aa7ff208124be2377aa50b40f63aad06c">Tgstation.Server.Client.Components.RepositoryClient.RepositoryClient</a></div><div class="ttdeci">RepositoryClient(IApiClient apiClient, Instance instance)</div><div class="ttdoc">Initializes a new instance of the RepositoryClient class.</div><div class="ttdef"><b>Definition</b> <a href="_repository_client_8cs_source.html#l00030">RepositoryClient.cs:30</a></div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client_html_acb876ffe0cd811d9fa1a590d9e15f4f5"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#acb876ffe0cd811d9fa1a590d9e15f4f5">Tgstation.Server.Client.Components.RepositoryClient.Update</a></div><div class="ttdeci">ValueTask< RepositoryResponse > Update(RepositoryUpdateRequest repository, CancellationToken cancellationToken)</div><div class="ttdoc">Update the repository.A ValueTask<TResult> resulting in the RepositoryResponse.</div></div>
|
|
<div class="ttc" id="aclass_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client_html_afa98120a595d85eecb95c94a366ad5f5"><div class="ttname"><a href="class_tgstation_1_1_server_1_1_client_1_1_components_1_1_repository_client.html#afa98120a595d85eecb95c94a366ad5f5">Tgstation.Server.Client.Components.RepositoryClient.Delete</a></div><div class="ttdeci">ValueTask< RepositoryResponse > Delete(CancellationToken cancellationToken)</div><div class="ttdoc">Deletes the repository.A ValueTask<TResult> resulting in the RepositoryResponse.</div></div>
|
|
<div class="ttc" id="ainterface_tgstation_1_1_server_1_1_client_1_1_components_1_1_i_repository_client_html"><div class="ttname"><a href="interface_tgstation_1_1_server_1_1_client_1_1_components_1_1_i_repository_client.html">Tgstation.Server.Client.Components.IRepositoryClient</a></div><div class="ttdoc">For managing the git repository.</div><div class="ttdef"><b>Definition</b> <a href="_i_repository_client_8cs_source.html#l00012">IRepositoryClient.cs:13</a></div></div>
|
|
<div class="ttc" id="ainterface_tgstation_1_1_server_1_1_client_1_1_i_api_client_html"><div class="ttname"><a href="interface_tgstation_1_1_server_1_1_client_1_1_i_api_client.html">Tgstation.Server.Client.IApiClient</a></div><div class="ttdoc">Web interface for the API.</div><div class="ttdef"><b>Definition</b> <a href="_i_api_client_8cs_source.html#l00016">IApiClient.cs:17</a></div></div>
|
|
<div class="ttc" id="ainterface_tgstation_1_1_server_1_1_client_1_1_i_api_client_html_a3e243ce6c09deb68c28dccd05a8d50ca"><div class="ttname"><a href="interface_tgstation_1_1_server_1_1_client_1_1_i_api_client.html#a3e243ce6c09deb68c28dccd05a8d50ca">Tgstation.Server.Client.IApiClient.Patch</a></div><div class="ttdeci">ValueTask Patch(string route, CancellationToken cancellationToken)</div><div class="ttdoc">Run an HTTP PATCH request.</div></div>
|
|
<div class="ttc" id="ainterface_tgstation_1_1_server_1_1_client_1_1_i_api_client_html_a6120f26a5fd0cf6319b11d4249296b47"><div class="ttname"><a href="interface_tgstation_1_1_server_1_1_client_1_1_i_api_client.html#a6120f26a5fd0cf6319b11d4249296b47">Tgstation.Server.Client.IApiClient.Delete</a></div><div class="ttdeci">ValueTask Delete(string route, CancellationToken cancellationToken)</div><div class="ttdoc">Run an HTTP DELETE request.</div></div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_api_1_1_models_1_1_request_html"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_api_1_1_models_1_1_request.html">Tgstation.Server.Api.Models.Request</a></div><div class="ttdef"><b>Definition</b> <a href="_chat_bot_create_request_8cs_source.html#l00003">ChatBotCreateRequest.cs:4</a></div></div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_api_1_1_models_1_1_response_html"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_api_1_1_models_1_1_response.html">Tgstation.Server.Api.Models.Response</a></div><div class="ttdef"><b>Definition</b> <a href="_administration_response_8cs_source.html#l00005">AdministrationResponse.cs:6</a></div></div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_api_1_1_models_html"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_api_1_1_models.html">Tgstation.Server.Api.Models</a></div><div class="ttdef"><b>Definition</b> <a href="_tgstation_8_server_8_api_2_models_2_chat_channel_8cs_source.html#l00005">ChatChannel.cs:6</a></div></div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_api_html"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_api.html">Tgstation.Server.Api</a></div><div class="ttdef"><b>Definition</b> <a href="_api_headers_8cs_source.html#l00019">ApiHeaders.cs:20</a></div></div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_client_1_1_components_html"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_client_1_1_components.html">Tgstation.Server.Client.Components</a></div><div class="ttdef"><b>Definition</b> <a href="_chat_bots_client_8cs_source.html#l00011">ChatBotsClient.cs:12</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
|
</small></address>
|
|
</body>
|
|
</html>
|