kvmdeviceplugin

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func New

func New(namespace string, devices uint, log *slog.Logger) *Server

func (*Server) Allocate

func (*Server) GetDevicePluginOptions

func (s *Server) GetDevicePluginOptions(
	ctx context.Context,
	_ *v1beta1.Empty,
) (*v1beta1.DevicePluginOptions, error)

func (*Server) ListAndWatch

func (s *Server) ListAndWatch(
	_ *v1beta1.Empty,
	lws v1beta1.DevicePlugin_ListAndWatchServer,
) error

func (*Server) Name

func (s *Server) Name() string

func (*Server) PreStartContainer

func (*Server) Socket

func (s *Server) Socket() string

Jump to

Keyboard shortcuts

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