ContextDetails class

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)

Constructors

ContextDetails({required String cluster, required String user, String? namespace, Iterable<NamedExtension>? extensions})
The main constructor.
ContextDetails.fromJson(Map<String, dynamic> json)
Creates a ContextDetails from JSON data.

Properties

cluster String
Gets or sets the name of the cluster for this context.
final
extensions Iterable<NamedExtension>?
Gets or sets additional information. This is useful for extenders so that reads and writes don't clobber unknown fields.
final
hashCode int
The hash code for this object.
no setterinherited
namespace String?
Gets or sets the default namespace to use on unspecified requests.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
user String
Gets or sets the name of the user for this context.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited