2023-04-12 13:22:09 +00:00
|
|
|
|
namespace KubernetesWorkflow
|
|
|
|
|
{
|
|
|
|
|
public class Configuration
|
|
|
|
|
{
|
2023-09-12 12:50:18 +00:00
|
|
|
|
public Configuration(string? kubeConfigFile, TimeSpan operationTimeout, TimeSpan retryDelay, string kubernetesNamespace)
|
2023-04-12 13:22:09 +00:00
|
|
|
|
{
|
|
|
|
|
KubeConfigFile = kubeConfigFile;
|
|
|
|
|
OperationTimeout = operationTimeout;
|
|
|
|
|
RetryDelay = retryDelay;
|
2023-09-12 12:50:18 +00:00
|
|
|
|
KubernetesNamespace = kubernetesNamespace;
|
2023-04-12 13:22:09 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string? KubeConfigFile { get; }
|
|
|
|
|
public TimeSpan OperationTimeout { get; }
|
|
|
|
|
public TimeSpan RetryDelay { get; }
|
2023-09-12 12:50:18 +00:00
|
|
|
|
public string KubernetesNamespace { get; }
|
2023-04-12 13:22:09 +00:00
|
|
|
|
}
|
|
|
|
|
}
|