Class V1ResourceHealth
java.lang.Object
io.kubernetes.client.openapi.models.V1ResourceHealth
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T23:08:31.638427Z[Etc/UTC]")
public class V1ResourceHealth
extends Object
ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Health of the resource. can be one of: - Healthy: operates as normal - Unhealthy: reported unhealthy.ResourceID is the unique identifier of the resource.int
hashCode()
resourceID
(String resourceID) void
void
setResourceID
(String resourceID) toString()
-
Field Details
-
SERIALIZED_NAME_HEALTH
- See Also:
-
SERIALIZED_NAME_RESOURCE_I_D
- See Also:
-
-
Constructor Details
-
V1ResourceHealth
public V1ResourceHealth()
-
-
Method Details
-
health
-
getHealth
Health of the resource. can be one of: - Healthy: operates as normal - Unhealthy: reported unhealthy. We consider this a temporary health issue since we do not have a mechanism today to distinguish temporary and permanent issues. - Unknown: The status cannot be determined. For example, Device Plugin got unregistered and hasn't been re-registered since. In future we may want to introduce the PermanentlyUnhealthy Status.- Returns:
- health
-
setHealth
-
resourceID
-
getResourceID
ResourceID is the unique identifier of the resource. See the ResourceID type for more information.- Returns:
- resourceID
-
setResourceID
-
equals
-
hashCode
public int hashCode() -
toString
-