cs-codex-dist-tests/KubernetesWorkflow/Configuration.cs

22 lines
801 B
C#
Raw Normal View History

namespace KubernetesWorkflow
{
public class Configuration
{
public Configuration(string? kubeConfigFile, TimeSpan operationTimeout, TimeSpan retryDelay, string kubernetesNamespace)
{
KubeConfigFile = kubeConfigFile;
OperationTimeout = operationTimeout;
RetryDelay = retryDelay;
KubernetesNamespace = kubernetesNamespace;
}
public string? KubeConfigFile { get; }
public TimeSpan OperationTimeout { get; }
public TimeSpan RetryDelay { get; }
public string KubernetesNamespace { get; }
public bool AllowNamespaceOverride { get; set; } = true;
2023-09-13 14:06:05 +00:00
public bool AddAppPodLabel { get; set; } = true;
public IK8sHooks Hooks { get; set; } = new DoNothingK8sHooks();
}
}