2
0
mirror of synced 2025-01-12 09:34:40 +00:00
cs-codex-dist-tests/ContinuousTests/CodexAccessFactory.cs
2023-06-29 16:07:49 +02:00

20 lines
515 B
C#

using DistTestCore;
using DistTestCore.Codex;
using KubernetesWorkflow;
using Logging;
namespace ContinuousTests
{
public class CodexAccessFactory
{
public CodexAccess[] Create(RunningContainer[] containers, BaseLog log, ITimeSet timeSet)
{
return containers.Select(container =>
{
var address = container.ClusterExternalAddress;
return new CodexAccess(log, container, timeSet, address);
}).ToArray();
}
}
}