26 lines
1016 B
C#
26 lines
1016 B
C#
using ArgsUniform;
|
|
using DistTestCore;
|
|
using DistTestCore.Codex;
|
|
|
|
namespace CodexNetDownloader
|
|
{
|
|
public class Configuration
|
|
{
|
|
[Uniform("output-path", "o", "OUTPUT", true, "Path where files will be written.")]
|
|
public string OutputPath { get; set; } = "output";
|
|
|
|
[Uniform("codex-deployment", "c", "CODEXDEPLOYMENT", true, "Path to codex-deployment JSON file.")]
|
|
public string CodexDeploymentJson { get; set; } = string.Empty;
|
|
|
|
[Uniform("kube-config", "kc", "KUBECONFIG", true, "Path to Kubeconfig file. Use 'null' (default) to use local cluster.")]
|
|
public string KubeConfigFile { get; set; } = "null";
|
|
|
|
[Uniform("continuous", "c", "CONTINUOUS", false, "If true, will continuously download and append log files.")]
|
|
public bool Continuous { get; set; } = false;
|
|
|
|
public CodexDeployment CodexDeployment { get; set; } = null!;
|
|
|
|
public TestRunnerLocation RunnerLocation { get; set; } = TestRunnerLocation.InternalToCluster;
|
|
}
|
|
}
|