GkeWorkload class

A GKE Workload (Deployment, StatefulSet, etc).

The field names correspond to the metadata labels on monitored resources that fall under a workload (for example, k8s_container or k8s_pod).

Constructors

GkeWorkload({String? clusterName, String? location, String? namespaceName, String? projectId, String? topLevelControllerName, String? topLevelControllerType})
GkeWorkload.fromJson(Map json_)

Properties

clusterName String?
The name of the parent cluster.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
location String?
The location of the parent cluster.
getter/setter pair
namespaceName String?
The name of the parent namespace.
getter/setter pair
projectId String?
The project this resource lives in.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topLevelControllerName String?
The name of this workload.
getter/setter pair
topLevelControllerType String?
The type of this workload (for example, "Deployment" or "DaemonSet")
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.
inherited

Operators

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