package cdidevices
import "github.com/moby/buildkit/solver/llbsolver/cdidevices"
Index ¶
- func Register(name string, setup Setup)
- type Device
- type Manager
- func NewManager(cache *cdi.Cache, autoAllowed []string) *Manager
- func (m *Manager) FindDevices(devs ...*pb.CDIDevice) ([]string, error)
- func (m *Manager) GetDevice(name string) Device
- func (m *Manager) InjectDevices(spec *specs.Spec, devs ...*pb.CDIDevice) error
- func (m *Manager) ListDevices() []Device
- func (m *Manager) OnDemandInstaller(name string) (func(context.Context) error, bool)
- func (m *Manager) Refresh() error
- type Setup
Functions ¶
func Register ¶
Register registers new setup for a device.
Types ¶
type Device ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) FindDevices ¶
func (*Manager) GetDevice ¶
func (*Manager) InjectDevices ¶
func (*Manager) ListDevices ¶
func (*Manager) OnDemandInstaller ¶
func (*Manager) Refresh ¶
type Setup ¶
Source Files ¶
- Version
- v0.21.0-rc2
- Published
- Apr 11, 2025
- Platform
- js/wasm
- Imports
- 11 packages
- Last checked
- 25 seconds ago –
Tools for package owners.