Class ResourceHandle

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ResourceHandle
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ResourceHandleBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.
    See Also:
    Serialized Form
    • Constructor Detail

      • ResourceHandle

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

      • getData

        public String getData()
        Data contains the opaque data associated with this ResourceHandle. It is set by the controller component of the resource driver whose name matches the DriverName set in the ResourceClaimStatus this ResourceHandle is embedded in. It is set at allocation time and is intended for processing by the kubelet plugin whose name matches the DriverName set in this ResourceHandle.


        The maximum size of this field is 16KiB. This may get increased in the future, but not reduced.

      • setData

        public void setData​(String data)
        Data contains the opaque data associated with this ResourceHandle. It is set by the controller component of the resource driver whose name matches the DriverName set in the ResourceClaimStatus this ResourceHandle is embedded in. It is set at allocation time and is intended for processing by the kubelet plugin whose name matches the DriverName set in this ResourceHandle.


        The maximum size of this field is 16KiB. This may get increased in the future, but not reduced.

      • getDriverName

        public String getDriverName()
        DriverName specifies the name of the resource driver whose kubelet plugin should be invoked to process this ResourceHandle's data once it lands on a node. This may differ from the DriverName set in ResourceClaimStatus this ResourceHandle is embedded in.
      • setDriverName

        public void setDriverName​(String driverName)
        DriverName specifies the name of the resource driver whose kubelet plugin should be invoked to process this ResourceHandle's data once it lands on a node. This may differ from the DriverName set in ResourceClaimStatus this ResourceHandle is embedded in.
      • getStructuredData

        public StructuredResourceHandle getStructuredData()
        ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.
      • setStructuredData

        public void setStructuredData​(StructuredResourceHandle structuredData)
        ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.
      • getAdditionalProperties

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

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

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