tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Components
IInstanceOperations.cs
Go to the documentation of this file.
1
using
System.Threading;
2
using
System.Threading.Tasks;
3
4
using
Tgstation.Server.Host.Models
;
5
6
namespace
Tgstation.Server.Host.Components
7
{
11
public
interface
IInstanceOperations
12
{
19
ValueTask
OnlineInstance
(Models.Instance metadata, CancellationToken cancellationToken);
20
28
ValueTask
OfflineInstance
(Models.Instance metadata,
User
user, CancellationToken cancellationToken);
29
37
ValueTask
MoveInstance
(Models.Instance metadata,
string
oldPath, CancellationToken cancellationToken);
38
}
39
}
Tgstation.Server.Host.Models.User
Definition
User.cs:17
Tgstation.Server.Host.Components.IInstanceOperations
Operations that can be performed on a given Models.Instance.
Definition
IInstanceOperations.cs:12
Tgstation.Server.Host.Components.IInstanceOperations.OnlineInstance
ValueTask OnlineInstance(Models.Instance metadata, CancellationToken cancellationToken)
Online an IInstance.
Tgstation.Server.Host.Components.IInstanceOperations.MoveInstance
ValueTask MoveInstance(Models.Instance metadata, string oldPath, CancellationToken cancellationToken)
Move an IInstance.
Tgstation.Server.Host.Components.IInstanceOperations.OfflineInstance
ValueTask OfflineInstance(Models.Instance metadata, User user, CancellationToken cancellationToken)
Offline an IInstance.
Tgstation.Server.Host.Components
Definition
ChannelMapping.cs:4
Tgstation.Server.Host.Models
Definition
ChatBot.cs:9
Generated by
1.9.8