gpu

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Control

type Control struct {
	// contains filtered or unexported fields
}

func NewGPUControl

func NewGPUControl(dryRun bool) (*Control, error)

func (*Control) DisableGPU

func (c *Control) DisableGPU() error

func (*Control) EnableGPU

func (c *Control) EnableGPU() error

func (*Control) Initialize

func (c *Control) Initialize() error

func (*Control) Notify

func (c *Control) Notify(t plugin.Notification)

func (*Control) RestartGPU

func (c *Control) RestartGPU() error

func (*Control) Run

func (c *Control) Run(haltCtx context.Context, cb chan<- plugin.Callback) <-chan error

Jump to

Keyboard shortcuts

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