tgtd

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: 5 Imported by: 0

Documentation

Overview

Package parted extracts useful info about iscsi targets provided by the linux server on which it runs.

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 Header() string

Header is generic

func Keys_String2PtrTgtddata

func Keys_String2PtrTgtddata(_mp *map[string]*Tgtddata) []string

Keys_String2PtrTgtddata is generic

func SortedKeys_String2PtrTgtddata

func SortedKeys_String2PtrTgtddata(_mp *map[string]*Tgtddata) []string

SortedKeys_String2PtrTgtddata is generic

func Tgtd

func Tgtd(_verbose bool) (smap map[string]*Tgtddata)

Tgtd extracts tgtd data

Types

type Tgtddata

type Tgtddata struct {
	Name_         string
	Targetpath_   string
	Targetstate_  string
	Tid_          string
	Initiator_    string
	Nexus_        string
	Connection_   string
	Ipaddress_    string
	LUN_          string
	Luntype_      string
	LunScsiID_    string
	LunScsiSN_    string
	Lunsize_      string
	Lunblocksize_ string
	Lunonline_    string
	Lunreadonly_  string
	Lunstore_     string
	Lunpath_      string
	Lunflags_     string
	ACL_          string
}

Tgtddata holds tgtd data

func (*Tgtddata) Csv

func (self *Tgtddata) Csv() string

Csv is generic

func (*Tgtddata) Print

func (self *Tgtddata) Print()

Print is generic

func (*Tgtddata) Sprint

func (self *Tgtddata) Sprint() string

Sprint is generic

Jump to

Keyboard shortcuts

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