cs-codex-dist-tests/Tools/TestClusterStarter/ClusterTestSpec.cs

43 lines
1.1 KiB
C#
Raw Permalink Normal View History

using KubernetesWorkflow.Types;
2023-10-31 10:22:59 +00:00
namespace TestClusterStarter
{
public class ClusterTestSetup
{
public ClusterTestSetup(ClusterTestSpec[] specs)
{
Specs = specs;
}
public ClusterTestSpec[] Specs { get; }
}
public class ClusterTestSpec
{
public ClusterTestSpec(string name, string filter, int replication, int durationSeconds, string? codexImageOverride)
{
Name = name;
Filter = filter;
Replication = replication;
DurationSeconds = durationSeconds;
CodexImageOverride = codexImageOverride;
}
public string Name { get; }
public string Filter { get; }
public int Replication { get; }
public int DurationSeconds { get; }
public string? CodexImageOverride { get; }
}
public class ClusterTestDeployment
{
public ClusterTestDeployment(RunningContainer[] containers)
{
Containers = containers;
}
public RunningContainer[] Containers { get; }
}
}