Class VolumeNodeResources

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class VolumeNodeResources
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    VolumeNodeResources is a set of resource limits for scheduling of volumes.
    • Constructor Detail

      • VolumeNodeResources

        public VolumeNodeResources​(java.lang.Number count)
      • VolumeNodeResources

        public VolumeNodeResources()
    • Method Detail

      • getCount

        public java.lang.Number getCount()
        Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded.
      • setCount

        public void setCount​(java.lang.Number count)
        Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is nil, then the supported number of volumes on this node is unbounded.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object