2
0
mirror of synced 2025-01-11 00:56:05 +00:00
2023-11-12 10:07:23 +01:00

43 lines
1.1 KiB
C#

using KubernetesWorkflow.Types;
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; }
}
}