Class V1alpha2ResourceHandle
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha2ResourceHandle
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1alpha2ResourceHandle
extends Object
ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet data in a chainable fashion.driverName
(String driverName) Set driverName in a chainable fashion.boolean
getData()
Data contains the opaque data associated with this ResourceHandle.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.int
hashCode()
void
Set the data property valuevoid
setDriverName
(String driverName) Set the driverName property valuetoString()
-
Field Details
-
JSON_PROPERTY_DATA
- See Also:
-
JSON_PROPERTY_DRIVER_NAME
- See Also:
-
-
Constructor Details
-
V1alpha2ResourceHandle
public V1alpha2ResourceHandle()
-
-
Method Details
-
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.- Returns:
- the data property value
-
setData
Set the data property value -
data
Set data in a chainable fashion.- Returns:
- The same instance of V1alpha2ResourceHandle for chaining.
-
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.- Returns:
- the driverName property value
-
setDriverName
Set the driverName property value -
driverName
Set driverName in a chainable fashion.- Returns:
- The same instance of V1alpha2ResourceHandle for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-