gpu

package
v0.10.1-alpha.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAttachedDevice

func GetAttachedDevice(ctx context.Context, vmName string) (string, error)

Queries for a device on attached to a vm and returns the first one in the list

func NewClient

func NewClient() ddaClient

Types

type GPUClient

type GPUClient interface {
	Attach(string, int) error
	Detach(string, int)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL