Class EmptyDirVolumeSource

    • Constructor Detail

      • EmptyDirVolumeSource

        public EmptyDirVolumeSource()
        No args constructor for use in serialization
      • EmptyDirVolumeSource

        public EmptyDirVolumeSource​(String medium,
                                    Integer mode,
                                    Quantity sizeLimit)
    • Method Detail

      • getMedium

        public String getMedium()
        medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
      • setMedium

        public void setMedium​(String medium)
        medium represents what type of storage medium should back this directory. The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
      • getMode

        public Integer getMode()
        mode specifies the permission bits for the emptyDir directory, in numeric notation (e.g., 0755, 01777). Must be a value between 0000 and 01777. If not specified, defaults to 0777. This might be in conflict with other options that affect the file mode, like fsGroup. If fsGroup is specified, the fsGroup permissions will override the mode specified here. This field has no effect on Windows. This field is alpha and requires EmptyDirVolumeMode featuregate to be enabled.
      • setMode

        public void setMode​(Integer mode)
        mode specifies the permission bits for the emptyDir directory, in numeric notation (e.g., 0755, 01777). Must be a value between 0000 and 01777. If not specified, defaults to 0777. This might be in conflict with other options that affect the file mode, like fsGroup. If fsGroup is specified, the fsGroup permissions will override the mode specified here. This field has no effect on Windows. This field is alpha and requires EmptyDirVolumeMode featuregate to be enabled.
      • getSizeLimit

        public Quantity getSizeLimit()
        Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.
      • setSizeLimit

        public void setSizeLimit​(Quantity sizeLimit)
        Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.
      • getAdditionalProperties

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

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

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