Class NodeDisruptionPolicyStatusFile

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<NodeDisruptionPolicyStatusFileBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class NodeDisruptionPolicyStatusFile
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<NodeDisruptionPolicyStatusFileBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    NodeDisruptionPolicyStatusFile is a file entry and corresponding actions to take and is used in the NodeDisruptionPolicyClusterStatus object
    See Also:
    Serialized Form
    • Constructor Detail

      • NodeDisruptionPolicyStatusFile

        public NodeDisruptionPolicyStatusFile()
        No args constructor for use in serialization
    • Method Detail

      • getActions

        public List<NodeDisruptionPolicyStatusAction> getActions()
        actions represents the series of commands to be executed on changes to the file at the corresponding file path. Actions will be applied in the order that they are set in this list. If there are other incoming changes to other MachineConfig entries in the same update that require a reboot, the reboot will supercede these actions. Valid actions are Reboot, Drain, Reload, DaemonReload and None. The Reboot action and the None action cannot be used in conjunction with any of the other actions. This list supports a maximum of 10 entries.
      • setActions

        public void setActions​(List<NodeDisruptionPolicyStatusAction> actions)
        actions represents the series of commands to be executed on changes to the file at the corresponding file path. Actions will be applied in the order that they are set in this list. If there are other incoming changes to other MachineConfig entries in the same update that require a reboot, the reboot will supercede these actions. Valid actions are Reboot, Drain, Reload, DaemonReload and None. The Reboot action and the None action cannot be used in conjunction with any of the other actions. This list supports a maximum of 10 entries.
      • getPath

        public String getPath()
        path is the location of a file being managed through a MachineConfig. The Actions in the policy will apply to changes to the file at this path.
      • setPath

        public void setPath​(String path)
        path is the location of a file being managed through a MachineConfig. The Actions in the policy will apply to changes to the file at this path.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)