Skip to main content

Function: getAllocatedDeviceId()

function getAllocatedDeviceId(result: DeviceRequestAllocationResult): string;

Defined in: lib/k8s/resourceClaim.ts:151

An allocated device as dynamic resource allocation identifies it. A device name is only unique within its pool, and a pool name only within its driver.

Parameters​

ParameterTypeDescription
resultDeviceRequestAllocationResultA device the scheduler granted.

Returns​

string

The device as <driver>/<pool>/<device>.