Class Context
Relates nicknames to context information.
Inherited Members
Namespace: k8s.KubeConfigModels
Assembly: KubernetesClient.dll
Syntax
public class Context
Constructors
View SourceContext()
Declaration
public Context()
Properties
View SourceContextDetails
Gets or sets the context information.
Declaration
public ContextDetails ContextDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| ContextDetails |
Extensions
Gets or sets additional information. This is useful for extenders so that reads and writes don't clobber unknown fields.
Declaration
public IEnumerable<NamedExtension> Extensions { get; set; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<NamedExtension> |
Name
Gets or sets the nickname for this context.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Namespace
Declaration
[Obsolete("This property is not set by the YAML config. Use ContextDetails.Namespace instead.")]
public string Namespace { get; set; }
Property Value
| Type | Description |
|---|---|
| string |