Class V1NodeConfigStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1NodeConfigStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1NodeConfigStatus
extends Object
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactive
(V1NodeConfigSource active) Set active in a chainable fashion.assigned
(V1NodeConfigSource assigned) Set assigned in a chainable fashion.boolean
Set error in a chainable fashion.getError()
Error describes any problems reconciling the Spec.ConfigSource to the Active config.int
hashCode()
lastKnownGood
(V1NodeConfigSource lastKnownGood) Set lastKnownGood in a chainable fashion.void
setActive
(V1NodeConfigSource active) Set the active property valuevoid
setAssigned
(V1NodeConfigSource assigned) Set the assigned property valuevoid
Set the error property valuevoid
setLastKnownGood
(V1NodeConfigSource lastKnownGood) Set the lastKnownGood property valuetoString()
-
Field Details
-
JSON_PROPERTY_ACTIVE
- See Also:
-
JSON_PROPERTY_ASSIGNED
- See Also:
-
JSON_PROPERTY_ERROR
- See Also:
-
JSON_PROPERTY_LAST_KNOWN_GOOD
- See Also:
-
-
Constructor Details
-
V1NodeConfigStatus
public V1NodeConfigStatus()
-
-
Method Details
-
getActive
- Returns:
- the active property value
-
setActive
Set the active property value- Parameters:
active
- property value to set
-
active
Set active in a chainable fashion.- Returns:
- The same instance of V1NodeConfigStatus for chaining.
-
getAssigned
- Returns:
- the assigned property value
-
setAssigned
Set the assigned property value- Parameters:
assigned
- property value to set
-
assigned
Set assigned in a chainable fashion.- Returns:
- The same instance of V1NodeConfigStatus for chaining.
-
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:
- the error property value
-
setError
Set the error property value- Parameters:
error
- property value to set
-
error
Set error in a chainable fashion.- Returns:
- The same instance of V1NodeConfigStatus for chaining.
-
getLastKnownGood
- Returns:
- the lastKnownGood property value
-
setLastKnownGood
Set the lastKnownGood property value- Parameters:
lastKnownGood
- property value to set
-
lastKnownGood
Set lastKnownGood in a chainable fashion.- Returns:
- The same instance of V1NodeConfigStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-