Skip to content

Commit ca6a254

Browse files
committed
revert changes to readonly keys
Signed-off-by: Sam Rooke <[email protected]>
1 parent 1f97ce8 commit ca6a254

File tree

1 file changed

+17
-17
lines changed
  • src/TaskManager/Plug-ins/Argo/StaticValues

1 file changed

+17
-17
lines changed

src/TaskManager/Plug-ins/Argo/StaticValues/Keys.cs

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,87 +21,87 @@ internal static class Keys
2121
/// <summary>
2222
/// Key for the namespace where the Argo workflows are stored and executed.
2323
/// </summary>
24-
public const string Namespace = "namespace";
24+
public static readonly string Namespace = "namespace";
2525

2626
/// <summary>
2727
/// Key for the endpoint where the Argo server is running.
2828
/// </summary>
29-
public const string BaseUrl = "server_url";
29+
public static readonly string BaseUrl = "server_url";
3030

3131
/// <summary>
3232
/// Key for the endpoint where the Argo server is running.
3333
/// </summary>
34-
public const string AllowInsecureseUrl = "allow_insecure";
34+
public static readonly string AllowInsecureseUrl = "allow_insecure";
3535

3636
/// <summary>
3737
/// Key for the name of the main 'WorkflowTemplate' stored on the targeted Argo server.
3838
/// </summary>
39-
public const string WorkflowTemplateName = "workflow_template_name";
39+
public static readonly string WorkflowTemplateName = "workflow_template_name";
4040

4141
/// <summary>
4242
/// Key for the setting 'ActiveDeadlineSeconds' of a Argo workflow.
4343
/// </summary>
44-
public const string TimeoutSeconds = "timeoutSeconds";
44+
public static readonly string TimeoutSeconds = "timeoutSeconds";
4545

4646
/// <summary>
4747
/// Key for setting the API token to authenticate to the Argo server.
4848
/// </summary>
49-
public const string ArgoApiToken = "apiToken";
49+
public static readonly string ArgoApiToken = "apiToken";
5050

5151
/// <summary>
5252
/// Key for setting the message broker's endpoint.
5353
/// </summary>
54-
public const string MessagingEndpoint = "endpoint";
54+
public static readonly string MessagingEndpoint = "endpoint";
5555

5656
/// <summary>
5757
/// Key for setting the user name to access the message broker.
5858
/// </summary>
59-
public const string MessagingUsername = "username";
59+
public static readonly string MessagingUsername = "username";
6060

6161
/// <summary>
6262
/// Key for setting the password to access the message broker.
6363
/// </summary>
64-
public const string MessagingPassword = "password";
64+
public static readonly string MessagingPassword = "password";
6565

6666
/// <summary>
6767
/// Key for setting the exchange of the message broker.
6868
/// </summary>
69-
public const string MessagingExchange = "exchange";
69+
public static readonly string MessagingExchange = "exchange";
7070

7171
/// <summary>
7272
/// Key for setting the vhost of the message broker.
7373
/// </summary>
74-
public const string MessagingVhost = "virtualHost";
74+
public static readonly string MessagingVhost = "virtualHost";
7575

7676
/// <summary>
7777
/// Key for resource limitations
7878
/// </summary>
79-
public const string ArgoResource = "resources";
79+
public static readonly string ArgoResource = "resources";
8080

8181
/// <summary>
8282
/// Key for resource limitations
8383
/// </summary>
84-
public const string ArgoParameters = "parameters";
84+
public static readonly string ArgoParameters = "parameters";
8585

8686
/// <summary>
8787
/// Key for priority classnames on task plugin arguments side
8888
/// </summary>
89-
public const string TaskPriorityClassName = "priority";
89+
public static readonly string TaskPriorityClassName = "priority";
9090

9191
/// <summary>
9292
/// Key for CPU
9393
/// </summary>
94-
public const string Cpu = "cpu";
94+
public static readonly string Cpu = "cpu";
9595

9696
/// <summary>
9797
/// Key for memory allocation
9898
/// </summary>
99-
public const string Memory = "memory_gb";
99+
public static readonly string Memory = "memory_gb";
100100

101101
/// <summary>
102102
/// Key for GPU
103103
/// </summary>
104-
public const string Gpu = "number_gpu";
104+
public static readonly string Gpu = "number_gpu";
105105

106106
/// <summary>
107107
/// Required arguments to run the Argo workflow.

0 commit comments

Comments
 (0)