package
1.11.0-alpha.1
Repository: https://github.com/ceshihao/kubernetes.git
Documentation: pkg.go.dev
# 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.
Current version of the API supported by kubelet.
# Variables
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", State: "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
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author