Updated to .NET 7.0 and added Jenkinsfile.

This commit is contained in:
2022-12-01 17:51:54 +00:00
parent 0073efc9ac
commit a1401c63e9
58 changed files with 79 additions and 7 deletions

View File

@@ -0,0 +1,24 @@
namespace GameServiceWarden.InteractionAPI.Module
{
public struct ServiceManagerAction
{
public enum Type
{
Start,
Stop,
CreateService,
DeleteService,
ExecuteCommand,
SetServiceOption,
}
public string assemblyName;
public string moduleName;
public string serviceName;
public string option;
public string command;
public string value;
public Type action;
}
}

View File

@@ -0,0 +1,15 @@
using System.Collections.Generic;
namespace GameServiceWarden.InteractionAPI.Module
{
public struct ServiceManagerDelta
{
public bool subtract;
public string service;
public string running;
public string modules;
public byte[] logs;
public string optionName;
public string optionValue;
}
}

View File

@@ -0,0 +1,13 @@
using System.Collections.Generic;
namespace GameServiceWarden.InteractionAPI.Module
{
public struct ServiceManagerTotal
{
public ICollection<string> services;
public ICollection<string> running;
public ICollection<string> modules;
public IReadOnlyDictionary<string, byte[]> logs;
public IReadOnlyDictionary<string, IReadOnlyDictionary<string, string>> serviceOptions;
}
}