ClusterAttach class

Constructors

ClusterAttach({bool? default_, String? kubeconfig, String? name, String? provider})
Returns a new ClusterAttach instance.

Properties

default_ ↔ bool?
Default marks this the org's default cluster for scheduling.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
kubeconfig ↔ String?
Kubeconfig is the cluster's kubeconfig, verbatim. Required — a body without one is not an attach.
getter/setter pair
name ↔ String?
Name is the fleet-local name for the cluster; lower-cased, and the key the detach route addresses it by. Required.
getter/setter pair
provider ↔ String?
Provider is a free-form label for where the cluster runs ("gke", "on-prem"); it is display only, not a routing key.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → ClusterAttach?
Returns a new ClusterAttach instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ClusterAttach>
mapFromJson(dynamic json) → Map<String, ClusterAttach>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ClusterAttach>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.