Class KubeConfigContextConfig
Describes a Kubernetes context properties.
Namespace: Neon.Kube.Config
Assembly: Neon.Kube.dll
Syntax
public class KubeConfigContextConfig
Constructors
KubeConfigContextConfig()
Default constructor.
Declaration
public KubeConfigContextConfig()
Properties
Cluster
Optionally specifies the cluster nickname.
Declaration
[JsonProperty(PropertyName = "cluster", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "cluster", ApplyNamingConventions = false, DefaultValuesHandling = DefaultValuesHandling.OmitNull)]
public string Cluster { get; set; }
Property Value
Type | Description |
---|---|
string |
Extensions
Lists any custom extension properties. Extensions are name/value pairs added by vendors to hold arbitrary information. Take care to choose property names that are unlikely to conflict with properties created by other vendors by adding a custom prefix like neonkube.io.MY-PROPERTY, where MY-PROPERTY identifies the property and neonkibe.io helps avoid conflicts.
Declaration
[JsonProperty(PropertyName = "extensions", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "extensions", ApplyNamingConventions = false, DefaultValuesHandling = DefaultValuesHandling.OmitNull|DefaultValuesHandling.OmitEmptyCollections)]
public List<NamedExtension> Extensions { get; set; }
Property Value
Type | Description |
---|---|
List<NamedExtension> |
Namespace
Optionally specifies the namespace.
Declaration
[JsonProperty(PropertyName = "namespace", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "namespace", ApplyNamingConventions = false, DefaultValuesHandling = DefaultValuesHandling.OmitNull)]
public string Namespace { get; set; }
Property Value
Type | Description |
---|---|
string |
User
Optionally specifies the user nickname.
Declaration
[JsonProperty(PropertyName = "user", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
[YamlMember(Alias = "user", ApplyNamingConventions = false, DefaultValuesHandling = DefaultValuesHandling.OmitNull)]
public string User { get; set; }
Property Value
Type | Description |
---|---|
string |