Show / Hide Table of Contents

Class Context

Relates nicknames to context information.

Inheritance
object
Context
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 Context

Constructors

View Source

Context()

Declaration
public Context()

Properties

View Source

ContextDetails

Gets or sets the context information.

Declaration
public ContextDetails ContextDetails { get; set; }
Property Value
Type Description
ContextDetails
View Source

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>
View Source

Name

Gets or sets the nickname for this context.

Declaration
public string Name { get; set; }
Property Value
Type Description
string
View Source

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