discovery

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoMatchFound = errors.New("No matching drive found")
)

Functions

This section is empty.

Types

type Discovery

type Discovery struct {
	NodeID string
	// contains filtered or unexported fields
}

func NewDiscovery

func NewDiscovery(ctx context.Context, identity, nodeID, rack, zone, region string) (*Discovery, error)

func (*Discovery) Identify

func (d *Discovery) Identify(localDriveState directcsi.DirectCSIDriveStatus) (*remoteDrive, error)

func (*Discovery) Init

func (d *Discovery) Init(ctx context.Context, loopBackOnly bool) error

Jump to

Keyboard shortcuts

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