registry

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: Apache-2.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	Internal = "internal"
	External = "external"
)

Variables

View Source
var (
	ExternalDrivers = make(map[string]*ExternalDriver)
)

Functions

func CheckInternalOrExternal

func CheckInternalOrExternal(name string) string

func List

func List() map[string]string

func Register

func Register(ctx context.Context, driver driver.Driver)

Types

type ExternalDriver

type ExternalDriver struct {
	Name         string
	InstanceName string
	Client       *client.DriverClient // Client is the gRPC client for the external driver
	Path         string
	Logger       *logrus.Logger
}

func Get

func Get(name string) (*ExternalDriver, driver.Driver, bool)

Jump to

Keyboard shortcuts

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