Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/everpeace/k8s-host-device-plugin
/ functions
Functions
19 in github.com/everpeace/k8s-host-device-plugin
⨍
Functions
19
◇
Types & classes
4
↓ 4 callers
Method
Stop
Stop stops the gRPC server
server.go:146
↓ 2 callers
Method
Serve
Serve starts the gRPC server and register the device plugin to Kubelet
server.go:270
↓ 2 callers
Method
cleanup
()
server.go:261
↓ 2 callers
Function
dial
dial establishes the gRPC communication with the registered device plugin.
server.go:90
↓ 2 callers
Function
getHostDevicesHealth
(hostDevices []*ExpandedHostDevice)
server.go:105
↓ 1 callers
Method
Expand
()
hostdevice.go:42
↓ 1 callers
Function
NewHostDevicePlugin
NewHostDevicePlugin returns an initialized HostDevicePlugin
server.go:51
↓ 1 callers
Method
Register
Register registers the device plugin for the given resourceName with Kubelet.
server.go:159
↓ 1 callers
Method
Start
Start starts the gRPC server of the device plugin
server.go:117
↓ 1 callers
Method
healthCheck
()
server.go:199
↓ 1 callers
Function
newFSWatcher
(files ...string)
watcher.go:10
↓ 1 callers
Function
newOSWatcher
(sigs ...os.Signal)
watcher.go:27
↓ 1 callers
Method
validate
()
hostdevice.go:16
Method
Allocate
Allocate which return list of devices.
server.go:220
Method
GetDevicePluginOptions
(context.Context, *pluginapi.Empty)
server.go:247
Method
GetPreferredAllocation
(context.Context, *pluginapi.PreferredAllocationRequest)
server.go:257
Method
ListAndWatch
ListAndWatch lists devices and update that list according to the health status
server.go:181
Method
PreStartContainer
(context.Context, *pluginapi.PreStartContainerRequest)
server.go:253
Function
main
()
main.go:20