Files
csharp/src/KubernetesClient/KubeConfigModels/ExternalExecution.cs
Richard Semmens b5f5681b21 Fix declaration of authentication environment variables and add test. (#459)
* Fix declaration of authentication environment variables and add test.

* Run dotnet format

* Run dotnet format
2020-06-27 22:44:14 -07:00

29 lines
854 B
C#

using System.Collections.Generic;
using YamlDotNet.Serialization;
namespace k8s.KubeConfigModels
{
public class ExternalExecution
{
[YamlMember(Alias = "apiVersion")] public string ApiVersion { get; set; }
/// <summary>
/// The command to execute. Required.
/// </summary>
[YamlMember(Alias = "command")]
public string Command { get; set; }
/// <summary>
/// Environment variables to set when executing the plugin. Optional.
/// </summary>
[YamlMember(Alias = "env")]
public IList<Dictionary<string, string>> EnvironmentVariables { get; set; }
/// <summary>
/// Arguments to pass when executing the plugin. Optional.
/// </summary>
[YamlMember(Alias = "args")]
public IList<string> Arguments { get; set; }
}
}