blkid

package
v0.0.0-...-a234189 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2016 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Overview

Package blkid extracts useful info from that command on linux

Csv output is particularly supported, so that a csvfile-based enterprise's ETL tools can also monitor its servers and desktops

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Blkid

func Blkid(_verbose bool) (smap map[string]*Blkiddata)

Blkid obtains information from blkid

func Header() string

Header is generic

func Keys_String2PtrBlkiddata

func Keys_String2PtrBlkiddata(_mp *map[string]*Blkiddata) []string

Keys_String2PtrBlkiddata is generic

func SortedKeys_String2PtrBlkiddata

func SortedKeys_String2PtrBlkiddata(_mp *map[string]*Blkiddata) []string

SortedKeys_String2PtrBlkiddata is generic

Types

type Blkiddata

type Blkiddata struct {
	Devname_   string
	Uuid_      string
	Uuidsub_   string
	Type_      string
	Label_     string
	Parttype_  string
	Partuuid_  string
	Partlabel_ string
}

Blkiddata is a type

func New

func New() *Blkiddata

New is generic

func (*Blkiddata) Csv

func (self *Blkiddata) Csv() string

Csv is generic

func (*Blkiddata) Print

func (self *Blkiddata) Print()

Print is generic

func (*Blkiddata) Sprint

func (self *Blkiddata) Sprint() string

Sprint is generic

Jump to

Keyboard shortcuts

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