Class V1NodeConfigStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1NodeConfigStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
public class V1NodeConfigStatus
extends Object
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactive
(V1NodeConfigSource active) assigned
(V1NodeConfigSource assigned) boolean
static V1NodeConfigStatus
Create an instance of V1NodeConfigStatus given an JSON stringGet activeGet assignedgetError()
Error describes any problems reconciling the Spec.ConfigSource to the Active config.Get lastKnownGoodint
hashCode()
lastKnownGood
(V1NodeConfigSource lastKnownGood) void
setActive
(V1NodeConfigSource active) void
setAssigned
(V1NodeConfigSource assigned) void
void
setLastKnownGood
(V1NodeConfigSource lastKnownGood) toJson()
Convert an instance of V1NodeConfigStatus to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ACTIVE
- See Also:
-
SERIALIZED_NAME_ASSIGNED
- See Also:
-
SERIALIZED_NAME_ERROR
- See Also:
-
SERIALIZED_NAME_LAST_KNOWN_GOOD
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1NodeConfigStatus
public V1NodeConfigStatus()
-
-
Method Details
-
active
-
getActive
Get active- Returns:
- active
-
setActive
-
assigned
-
getAssigned
Get assigned- Returns:
- assigned
-
setAssigned
-
error
-
getError
Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.- Returns:
- error
-
setError
-
lastKnownGood
-
getLastKnownGood
Get lastKnownGood- Returns:
- lastKnownGood
-
setLastKnownGood
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to V1NodeConfigStatus
-
fromJson
Create an instance of V1NodeConfigStatus given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1NodeConfigStatus
- Throws:
IOException
- if the JSON string is invalid with respect to V1NodeConfigStatus
-
toJson
Convert an instance of V1NodeConfigStatus to an JSON string- Returns:
- JSON string
-