discovery

package
v3.0.0-beta.1+incompat... Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discoverer

type Discoverer struct {
	*common.RuntimeConfig
	// contains filtered or unexported fields
}

Discoverer finds available volumes and creates PVs for them It looks for volumes in the directories specified in the discoveryMap

func NewDiscoverer

func NewDiscoverer(config *common.RuntimeConfig) (*Discoverer, error)

NewDiscoverer creates a Discoverer object that will scan through the configured directories and create local PVs for any new directories found

func (*Discoverer) DiscoverLocalVolumes

func (d *Discoverer) DiscoverLocalVolumes()

DiscoverLocalVolumes reads the configured discovery paths, and creates PVs for the new volumes

Jump to

Keyboard shortcuts

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