Class ResourceClaimStatus

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ResourceClaimStatus
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ResourceClaimStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.
    See Also:
    Serialized Form
    • Method Detail

      • getAllocation

        public AllocationResult getAllocation()
        ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.
      • setAllocation

        public void setAllocation​(AllocationResult allocation)
        ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.
      • getDeallocationRequested

        public Boolean getDeallocationRequested()
        DeallocationRequested indicates that a ResourceClaim is to be deallocated.


        The driver then must deallocate this claim and reset the field together with clearing the Allocation field.


        While DeallocationRequested is set, no new consumers may be added to ReservedFor.

      • setDeallocationRequested

        public void setDeallocationRequested​(Boolean deallocationRequested)
        DeallocationRequested indicates that a ResourceClaim is to be deallocated.


        The driver then must deallocate this claim and reset the field together with clearing the Allocation field.


        While DeallocationRequested is set, no new consumers may be added to ReservedFor.

      • getDriverName

        public String getDriverName()
        DriverName is a copy of the driver name from the ResourceClass at the time when allocation started.
      • setDriverName

        public void setDriverName​(String driverName)
        DriverName is a copy of the driver name from the ResourceClass at the time when allocation started.
      • getReservedFor

        public List<ResourceClaimConsumerReference> getReservedFor()
        ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started.


        There can be at most 32 such reservations. This may get increased in the future, but not reduced.

      • setReservedFor

        public void setReservedFor​(List<ResourceClaimConsumerReference> reservedFor)
        ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started.


        There can be at most 32 such reservations. This may get increased in the future, but not reduced.

      • getAdditionalProperties

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

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

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