discover

package
v0.0.0-...-3f1f3ec Latest Latest
Warning

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

Go to latest
Published: Feb 28, 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

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

func Run

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

Types

type CephVolumeInventory

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