mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-06 23:43:07 +00:00
31 lines
928 B
C#
31 lines
928 B
C#
using DistTestCore;
|
|
using KubernetesWorkflow;
|
|
|
|
namespace CodexPlugin
|
|
{
|
|
public static class DistTestExtensions
|
|
{
|
|
public static Plugin Plugin { get; internal set; } = null!;
|
|
|
|
public static RunningContainers[] StartCodexNodes(this DistTest distTest, int number, Action<ICodexSetup> setup)
|
|
{
|
|
return Plugin.StartCodexNodes(number, setup);
|
|
}
|
|
|
|
public static ICodexNodeGroup WrapCodexContainers(this DistTest distTest, RunningContainers containers)
|
|
{
|
|
return Plugin.WrapCodexContainers(containers);
|
|
}
|
|
|
|
public static IOnlineCodexNode SetupCodexNode(this DistTest distTest, Action<ICodexSetup> setup)
|
|
{
|
|
return Plugin.SetupCodexNode(setup);
|
|
}
|
|
|
|
public static ICodexNodeGroup SetupCodexNodes(this DistTest distTest, int number)
|
|
{
|
|
return Plugin.SetupCodexNodes(number);
|
|
}
|
|
}
|
|
}
|