Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1NodeConfigStatus
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1NodeConfigStatus
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1NodeConfigStatus extends Object
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACTIVEstatic StringJSON_PROPERTY_ASSIGNEDstatic StringJSON_PROPERTY_ERRORstatic StringJSON_PROPERTY_LAST_KNOWN_GOOD
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1NodeConfigStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiCoreV1NodeConfigStatusactive(IoK8sApiCoreV1NodeConfigSource active)IoK8sApiCoreV1NodeConfigStatusassigned(IoK8sApiCoreV1NodeConfigSource assigned)booleanequals(Object o)IoK8sApiCoreV1NodeConfigStatuserror(String error)IoK8sApiCoreV1NodeConfigSourcegetActive()Get activeIoK8sApiCoreV1NodeConfigSourcegetAssigned()Get assignedStringgetError()Error describes any problems reconciling the Spec.ConfigSource to the Active config.IoK8sApiCoreV1NodeConfigSourcegetLastKnownGood()Get lastKnownGoodinthashCode()IoK8sApiCoreV1NodeConfigStatuslastKnownGood(IoK8sApiCoreV1NodeConfigSource lastKnownGood)voidsetActive(IoK8sApiCoreV1NodeConfigSource active)voidsetAssigned(IoK8sApiCoreV1NodeConfigSource assigned)voidsetError(String error)voidsetLastKnownGood(IoK8sApiCoreV1NodeConfigSource lastKnownGood)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACTIVE
public static final String JSON_PROPERTY_ACTIVE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ASSIGNED
public static final String JSON_PROPERTY_ASSIGNED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ERROR
public static final String JSON_PROPERTY_ERROR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LAST_KNOWN_GOOD
public static final String JSON_PROPERTY_LAST_KNOWN_GOOD
- See Also:
- Constant Field Values
-
-
Method Detail
-
active
public IoK8sApiCoreV1NodeConfigStatus active(IoK8sApiCoreV1NodeConfigSource active)
-
getActive
@Nullable public IoK8sApiCoreV1NodeConfigSource getActive()
Get active- Returns:
- active
-
setActive
public void setActive(IoK8sApiCoreV1NodeConfigSource active)
-
assigned
public IoK8sApiCoreV1NodeConfigStatus assigned(IoK8sApiCoreV1NodeConfigSource assigned)
-
getAssigned
@Nullable public IoK8sApiCoreV1NodeConfigSource getAssigned()
Get assigned- Returns:
- assigned
-
setAssigned
public void setAssigned(IoK8sApiCoreV1NodeConfigSource assigned)
-
error
public IoK8sApiCoreV1NodeConfigStatus error(String error)
-
getError
@Nullable public 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.- Returns:
- error
-
setError
public void setError(String error)
-
lastKnownGood
public IoK8sApiCoreV1NodeConfigStatus lastKnownGood(IoK8sApiCoreV1NodeConfigSource lastKnownGood)
-
getLastKnownGood
@Nullable public IoK8sApiCoreV1NodeConfigSource getLastKnownGood()
Get lastKnownGood- Returns:
- lastKnownGood
-
setLastKnownGood
public void setLastKnownGood(IoK8sApiCoreV1NodeConfigSource lastKnownGood)
-
-