drivers

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogNodeDriverFailure

func LogNodeDriverFailure(name string, err error)

func NewListenerFunc

func NewListenerFunc(ctx context.Context, fn func(cfg *node.TopologyCapabilityConfig)) chan<- *node.TopologyCapabilityConfig

func RegisterNodeDriver

func RegisterNodeDriver(driver TopologyNodeDriver)

func ResetNodeDrivers

func ResetNodeDrivers()

Types

type ExternalTopologyOperatorDriver

type ExternalTopologyOperatorDriver struct {
	ExternalTopologyOperatorDriverOptions
	// contains filtered or unexported fields
}

func (*ExternalTopologyOperatorDriver) ConfigureNode

func (*ExternalTopologyOperatorDriver) Name

type ExternalTopologyOperatorDriverOption

type ExternalTopologyOperatorDriverOption func(*ExternalTopologyOperatorDriverOptions)

type ExternalTopologyOperatorDriverOptions

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

type TopologyNodeDriver

type TopologyNodeDriver interface {
	Name() string
	ConfigureNode(*node.TopologyCapabilityConfig)
}

func GetNodeDriver

func GetNodeDriver(name string) (TopologyNodeDriver, error)

Jump to

Keyboard shortcuts

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