ArgoCluster class
Constructors
- ArgoCluster({ArgoConnectionState? connectionState, ArgoClusterInfo? info, String? name, String? server})
- Returns a new ArgoCluster instance.
Properties
- connectionState ↔ ArgoConnectionState?
-
ConnectionState is whether the destination is reachable.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- info ↔ ArgoClusterInfo?
-
Info is the connection state again plus the count of applications targeting this destination.
getter/setter pair
- name ↔ String?
-
Name is what the Destination column shows: "in-cluster" for this cluster, otherwise whatever spec.destination.name declares, falling back to the server URL when it declares none.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- server ↔ String?
-
Server is the destination's API URL, and the key the list is deduplicated by. https://kubernetes.default.svc is this cluster.
getter/setter pair
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) → ArgoCluster? -
Returns a new ArgoCluster instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< ArgoCluster> -
mapFromJson(
dynamic json) → Map< String, ArgoCluster> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< ArgoCluster> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.