# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
DevicePluginPath is the folder the Device Plugin is expecting sockets to be on Only privileged pods have access to this path Note: Placeholder until we find a "standard path".
Healthy means that the device is healthy.
KubeletSocket is the path of the Kubelet registry socket.
Unhealthy means that the device is unhealthy.
Version is the current version of the API supported by kubelet.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
- Allocate is expected to be called during pod creation since allocation failures for any container would result in pod startup failure.
AllocateResponse includes the artifacts that needs to be injected into a container for accessing 'deviceIDs' that were mentioned as part of 'AllocateRequest'.
E.g:
struct Device { ID: "GPU-fef8089b-4820-abfc-e83e-94318197576e", Health: "Healthy", }.
DeviceSpec specifies a host device to mount into a container.
No description provided by the author
ListAndWatch returns a stream of List of Devices Whenever a Device state changes or a Device disappears, ListAndWatch returns the new list.
Mount specifies a host volume to mount into a container.
No description provided by the author
UnimplementedDevicePluginServer can be embedded to have forward compatible implementations.
UnimplementedRegistrationServer can be embedded to have forward compatible implementations.
# Interfaces
No description provided by the author
No description provided by the author
DevicePluginClient is the client API for DevicePlugin service.
DevicePluginServer is the server API for DevicePlugin service.
RegistrationClient is the client API for Registration service.
RegistrationServer is the server API for Registration service.