diskdaemon

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Daemon

func Daemon(daemonPort int) error

func GetDaemonReport

func GetDaemonReport(daemonPort int, reportObj string) error

Types

type DeviceLsblk

type DeviceLsblk struct {
	Name       string        `json:"name"`
	Kname      string        `json:"kname"`
	Serial     string        `json:"serial,omitempty"`
	MajMin     string        `json:"maj:min"`
	Rotational bool          `json:"rota"`
	Type       string        `json:"type"`
	Parent     string        `json:"pkname,omitempty"`
	Childrens  []DeviceLsblk `json:"children,omitempty"`
	FsType     string        `json:"fstype,omitempty"`
}

type LsblkReport

type LsblkReport struct {
	Blockdevices []DeviceLsblk `json:"blockdevices"`
}

type LvReport

type LvReport struct {
	LvDmPath string `json:"lv_dm_path"`
}

type LvmReport

type LvmReport struct {
	Report []LvmReportField `json:"report,omitempty"`
}

type LvmReportField

type LvmReportField struct {
	Lvs []LvReport `json:"lv,omitempty"`
}

type OsdVolumeInfo

type OsdVolumeInfo struct {
	Devices []string      `json:"devices"`
	LvPath  string        `json:"lv_path"`
	Path    string        `json:"path"`
	Tags    OsdVolumeTags `json:"tags"`
	Type    string        `json:"type"`
}

type OsdVolumeTags

type OsdVolumeTags struct {
	BlockDevice string `json:"ceph.block_device"`
	DBDevice    string `json:"ceph.db_device"`
	ClusterFSID string `json:"ceph.cluster_fsid"`
	OsdFSID     string `json:"ceph.osd_fsid"`
}

Jump to

Keyboard shortcuts

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