Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Xilinx/FPGA_as_a_Service
/ functions
Functions
33 in github.com/Xilinx/FPGA_as_a_Service
⨍
Functions
33
◇
Types & classes
4
↓ 8 callers
Function
GetFileContent
(file string)
k8s-device-plugin/fpga.go:127
↓ 6 callers
Function
GetFileNameFromPrefix
(dir string, prefix string)
k8s-device-plugin/fpga.go:111
↓ 6 callers
Function
IsEqual
check euqal strings
k8s-device-plugin/server.go:71
↓ 4 callers
Function
GetDevices
()
k8s-device-plugin/fpga.go:469
↓ 3 callers
Function
IsContain
(items []string, item string)
k8s-device-plugin/server.go:370
↓ 3 callers
Method
Stop
Stop stops the gRPC server
k8s-device-plugin/server.go:321
↓ 2 callers
Function
FileExist
Prior to 2018.3 release, Xilinx FPGA has mgmt PF as func 1 and user PF as func 0. The func numbers of the 2 PFs are swapped after 2018.3 release. The
k8s-device-plugin/fpga.go:143
↓ 2 callers
Method
Serve
Serve starts the gRPC server and register the device plugin to Kubelet
k8s-device-plugin/server.go:568
↓ 2 callers
Method
cleanup
()
k8s-device-plugin/server.go:334
↓ 1 callers
Function
GetAMADevices
List all AMA devices
k8s-device-plugin/fpga.go:352
↓ 1 callers
Function
GetAlveoDevices
()
k8s-device-plugin/fpga.go:162
↓ 1 callers
Function
GetInstance
(DBDF string)
k8s-device-plugin/fpga.go:88
↓ 1 callers
Function
IsMgmtPf
(pciID string)
k8s-device-plugin/fpga.go:152
↓ 1 callers
Function
IsUserPf
(pciID string)
k8s-device-plugin/fpga.go:157
↓ 1 callers
Function
NewFPGADevicePlugin
NewFPGADevicePlugin returns an initialized FPGADevicePlugin
k8s-device-plugin/server.go:124
↓ 1 callers
Method
NewFPGADevicePluginServer
NewFPGADevicePluginServer returns an initialized FPGADevicePluginServer
k8s-device-plugin/server.go:247
↓ 1 callers
Method
Register
Register registers the device plugin for the given resourceName with Kubelet.
k8s-device-plugin/server.go:343
↓ 1 callers
Method
Start
Start starts the gRPC server of the device plugin
k8s-device-plugin/server.go:296
↓ 1 callers
Method
checkDeviceUpdate
(n map[string]map[string]Device)
k8s-device-plugin/server.go:198
↓ 1 callers
Method
deviceExists
(id string)
k8s-device-plugin/server.go:278
↓ 1 callers
Function
getKeys
get keys from struct
k8s-device-plugin/server.go:60
↓ 1 callers
Function
getMatchKey
find matched key for name ustomzie deivce
k8s-device-plugin/server.go:80
↓ 1 callers
Function
getModifiedDSAtype
get customzied DSAtype Name
k8s-device-plugin/server.go:101
↓ 1 callers
Function
newFSWatcher
(files ...string)
k8s-device-plugin/watcher.go:26
↓ 1 callers
Function
newOSWatcher
(sigs ...os.Signal)
k8s-device-plugin/watcher.go:43
↓ 1 callers
Method
sendDevices
(s pluginapi.DevicePlugin_ListAndWatchServer)
k8s-device-plugin/server.go:380
↓ 1 callers
Function
waitForServer
waitForServer checks if grpc server is alive by making grpc blocking connection to the server socket
k8s-device-plugin/server.go:259
Method
Allocate
Allocate which return list of devices.
k8s-device-plugin/server.go:433
Method
GetDevicePluginOptions
(ctx context.Context, empty *pluginapi.Empty)
k8s-device-plugin/server.go:291
Method
GetPreferredAllocation
GetPreferredAllocation returns a preferred set of devices to allocate from a list of available ones. The resulting preferred allocation is not guarant
k8s-device-plugin/server.go:428
Method
ListAndWatch
ListAndWatch lists devices and update that list according to the health status
k8s-device-plugin/server.go:412
Method
PreStartContainer
(ctx context.Context, rqt *pluginapi.PreStartContainerRequest)
k8s-device-plugin/server.go:287
Function
main
()
k8s-device-plugin/main.go:39