disk

package
v1.300028.4 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const ObjectName = "PhysicalDisk(*)"
View Source
const SectionKey_Disk_Linux = "disk"
View Source
const Section_Key_Mapped = "mount_points"

Variables

View Source
var ChildRule = map[string]translator.Rule{}
View Source
var DiskWindowsMetrics []interface{}

Functions

func GetCurPath

func GetCurPath() string

func RegisterRule

func RegisterRule(fieldname string, r translator.Rule)

Types

type Disk

type Disk struct {
}

func (*Disk) ApplyRule

func (d *Disk) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type DropTags

type DropTags struct {
}

func (*DropTags) ApplyRule

func (i *DropTags) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type IgnoreFs

type IgnoreFs struct {
}

func (*IgnoreFs) ApplyRule

func (i *IgnoreFs) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

This is an optional field, if not declared, this field is omitted.

type MountPoints

type MountPoints struct {
}

func (*MountPoints) ApplyRule

func (m *MountPoints) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

Jump to

Keyboard shortcuts

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