Class ResourceHandle
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1alpha2.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 Summary
Constructors Constructor Description ResourceHandle()
No args constructor for use in serializationResourceHandle(String data, String driverName, StructuredResourceHandle structuredData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceHandleBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getData()
Data contains the opaque data associated with this ResourceHandle.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.StructuredResourceHandle
getStructuredData()
ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setData(String data)
Data contains the opaque data associated with this ResourceHandle.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.void
setStructuredData(StructuredResourceHandle structuredData)
ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.ResourceHandleBuilder
toBuilder()
-
-
-
Constructor Detail
-
ResourceHandle
public ResourceHandle()
No args constructor for use in serialization
-
ResourceHandle
public ResourceHandle(String data, String driverName, StructuredResourceHandle structuredData)
-
-
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.
-
edit
public ResourceHandleBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<ResourceHandleBuilder>
-
toBuilder
public ResourceHandleBuilder toBuilder()
-
-