Class NodeConfigStatus
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.NodeConfigStatus
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class NodeConfigStatus extends java.lang.Object implements com.marcnuri.yakc.model.Model
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodeConfigStatus.Builder
-
Constructor Summary
Constructors Constructor Description NodeConfigStatus()
NodeConfigStatus(NodeConfigSource active, NodeConfigSource assigned, java.lang.String error, NodeConfigSource lastKnownGood)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodeConfigStatus.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
NodeConfigSource
getActive()
NodeConfigSource
getAssigned()
java.lang.String
getError()
Error describes any problems reconciling the Spec.ConfigSource to the Active config.NodeConfigSource
getLastKnownGood()
int
hashCode()
void
setActive(NodeConfigSource active)
void
setAssigned(NodeConfigSource assigned)
void
setError(java.lang.String error)
Error describes any problems reconciling the Spec.ConfigSource to the Active config.void
setLastKnownGood(NodeConfigSource lastKnownGood)
NodeConfigStatus.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
NodeConfigStatus
public NodeConfigStatus(NodeConfigSource active, NodeConfigSource assigned, java.lang.String error, NodeConfigSource lastKnownGood)
-
NodeConfigStatus
public NodeConfigStatus()
-
-
Method Detail
-
builder
public static NodeConfigStatus.Builder builder()
-
toBuilder
public NodeConfigStatus.Builder toBuilder()
-
getActive
public NodeConfigSource getActive()
-
getAssigned
public NodeConfigSource getAssigned()
-
getError
public java.lang.String 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.
-
getLastKnownGood
public NodeConfigSource getLastKnownGood()
-
setActive
public void setActive(NodeConfigSource active)
-
setAssigned
public void setAssigned(NodeConfigSource assigned)
-
setError
public void setError(java.lang.String error)
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.
-
setLastKnownGood
public void setLastKnownGood(NodeConfigSource lastKnownGood)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-