discover

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package discover to discover unused devices.

Index

Constants

This section is empty.

Variables

View Source
var (
	AppName         = "rook-discover"
	NodeAttr        = "rook.io/node"
	LocalDiskCMData = "devices"
	LocalDiskCMName = "local-device-%s"
)

Functions

func DeviceListsEqual added in v1.0.0

func DeviceListsEqual(old, new string) (bool, error)

func Run

func Run(context *clusterd.Context, probeInterval time.Duration, useCV bool) error

Types

type CephVolumeInventory added in v1.2.0

type CephVolumeInventory struct {
	Path            string          `json:"path"`
	Available       bool            `json:"available"`
	RejectedReasons json.RawMessage `json:"rejected_reasons"`
	SysAPI          json.RawMessage `json:"sys_api"`
	LVS             json.RawMessage `json:"lvs"`
}

Jump to

Keyboard shortcuts

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