Show / Hide Table of Contents

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)

Inheritance
object
ContextDetails
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: k8s.KubeConfigModels
Assembly: KubernetesClient.dll
Syntax
public class ContextDetails

Constructors

ContextDetails()

Declaration
public ContextDetails()

Properties

Cluster

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
In this article
Back to top Generated by DocFX