mirror of
https://github.com/codex-storage/cs-codex-dist-tests.git
synced 2025-02-04 08:14:18 +00:00
20 lines
498 B
C#
20 lines
498 B
C#
using DistTestCore;
|
|
using DistTestCore.Codex;
|
|
using KubernetesWorkflow;
|
|
using Logging;
|
|
|
|
namespace ContinuousTests
|
|
{
|
|
public class CodexNodeFactory
|
|
{
|
|
public CodexNode[] Create(RunningContainer[] containers, BaseLog log, ITimeSet timeSet)
|
|
{
|
|
return containers.Select(container =>
|
|
{
|
|
var address = container.ClusterExternalAddress;
|
|
return new CodexNode(log, timeSet, address);
|
|
}).ToArray();
|
|
}
|
|
}
|
|
}
|