Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeAllocateResponse ¶
func MakeAllocateResponse(rqt *pluginapi.AllocateRequest, devices map[string]DeviceInfo) (*pluginapi.AllocateResponse, error)
MakeAllocateResponse creates response data for Allocate GRPC call
Types ¶
type DeviceInfo ¶
DeviceInfo contains information about device maintained by Device Plugin
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server structure to keep server parameters
Click to show internal directories.
Click to hide internal directories.