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({Input<
String> ? clusterName, Input<String> ? location, Input<String> ? namespaceName, Input<String> ? topLevelControllerName, Input<String> ? topLevelControllerType}) -
Creates a new GkeWorkload.
clusterNameThe name of the parent cluster.locationThe location of the parent cluster. This may be a zone or region.namespaceNameThe name of the parent namespace.topLevelControllerNameThe name of this workload.topLevelControllerTypeThe type of this workload (for example, "Deployment" or "DaemonSet")const -
GkeWorkload.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
clusterName
→ Input<
String> ? -
The name of the parent cluster.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String> ? -
The location of the parent cluster. This may be a zone or region.
final
-
namespaceName
→ Input<
String> ? -
The name of the parent namespace.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
topLevelControllerName
→ Input<
String> ? -
The name of this workload.
final
-
topLevelControllerType
→ Input<
String> ? -
The type of this workload (for example, "Deployment" or "DaemonSet")
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited