GkeWorkload class Null safety

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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