kubernetes/test/images/sample-device-plugin/sampledeviceplugin.go

const resourceName

const cdiPath

const cdiVersion

const cdiPrefix

// stubAllocFunc creates and returns allocation response for the input allocate request
func stubAllocFunc(r *pluginapi.AllocateRequest, devs map[string]pluginapi.Device) (*pluginapi.AllocateResponse, error) {}

// stubAllocFunc creates and returns allocation response for the input allocate request
func stubRegisterControlFunc() bool {}

func main() {}

func handleRegistrationProcess(registerControlFile string, dpStub *plugin.Stub, watcher *fsnotify.Watcher, updateCh chan<- bool) {}

func createCDIFile(devs []*pluginapi.Device) error {}