Class ContextDetails
Represents a tuple of references to a cluster (how do I communicate with a kubernetes cluster), a user (how do I identify myself), and a namespace (what subset of resources do I want to work with)
Inherited Members
Namespace: k8s.KubeConfigModels
Assembly: KubernetesClient.dll
Syntax
public class ContextDetails
Constructors
View SourceContextDetails()
Declaration
public ContextDetails()
Properties
View SourceCluster
Gets or sets the name of the cluster for this context.
Declaration
public string Cluster { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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> |
Namespace
/Gets or sets the default namespace to use on unspecified requests.
Declaration
public string Namespace { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
User
Gets or sets the name of the user for this context.
Declaration
public string User { get; set; }
Property Value
| Type | Description |
|---|---|
| string |