root

package
v1.15.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {

	// Root represents the root from the perspective of the driver libraries and binaries.
	Root string
	// contains filtered or unexported fields
}

Driver represents a filesystem in which a set of drivers or devices is defined.

func New

func New(logger logger.Interface, path string, librarySearchPaths []string) *Driver

New creates a new Driver root at the specified path. TODO: Use functional options here.

func (*Driver) Libraries

func (r *Driver) Libraries() lookup.Locator

Drivers returns a Locator for driver libraries.

Jump to

Keyboard shortcuts

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