Package io.fabric8.kubernetes.api.model
Class NodeConfigStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.NodeConfigStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NodeConfigStatusBuilder>
,KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NodeConfigStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<NodeConfigStatusBuilder>, KubernetesResource
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeConfigStatus()
No args constructor for use in serializationNodeConfigStatus(NodeConfigSource active, NodeConfigSource assigned, String error, NodeConfigSource lastKnownGood)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeConfigStatusBuilder
edit()
NodeConfigSource
getActive()
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.Map<String,Object>
getAdditionalProperties()
NodeConfigSource
getAssigned()
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.String
getError()
Error describes any problems reconciling the Spec.ConfigSource to the Active config.NodeConfigSource
getLastKnownGood()
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.void
setActive(NodeConfigSource active)
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setAssigned(NodeConfigSource assigned)
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.void
setError(String error)
Error describes any problems reconciling the Spec.ConfigSource to the Active config.void
setLastKnownGood(NodeConfigSource lastKnownGood)
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.NodeConfigStatusBuilder
toBuilder()
-
-
-
Constructor Detail
-
NodeConfigStatus
public NodeConfigStatus()
No args constructor for use in serialization
-
NodeConfigStatus
public NodeConfigStatus(NodeConfigSource active, NodeConfigSource assigned, String error, NodeConfigSource lastKnownGood)
-
-
Method Detail
-
getActive
public NodeConfigSource getActive()
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.
-
setActive
public void setActive(NodeConfigSource active)
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.
-
getAssigned
public NodeConfigSource getAssigned()
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.
-
setAssigned
public void setAssigned(NodeConfigSource assigned)
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.
-
getError
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.
-
setError
public void setError(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.
-
getLastKnownGood
public NodeConfigSource getLastKnownGood()
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.
-
setLastKnownGood
public void setLastKnownGood(NodeConfigSource lastKnownGood)
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.
-
edit
public NodeConfigStatusBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<NodeConfigStatusBuilder>
-
toBuilder
public NodeConfigStatusBuilder toBuilder()
-
-