Documentation
¶
Index ¶
- type Distro
- type Docker
- type HostInfoRoot
- type HostInformation
- type Hostname
- type ITNInfo
- type JSONDsmParameter
- type JSONGetWindowsFeature
- type JSONMpioRegisteredDsms
- type JSONOS
- type JSONSystemInfo
- type Kernel
- type Manufacturer
- type Multipath
- type MultipathBlacklist
- type MultipathBlacklistExceptions
- type MultipathConf
- type MultipathDefaults
- type MultipathDevice
- type MultipathDevices
- type MultipathEntries
- type MultipathProperties
- type MultipathProperty
- type NCM
- type NCMScaleout
- type NLT
- type OS
- type Oracle
- type ProductName
- type Root
- type Sanboot
- type SystemInfo
- type Version
- type XMLArrayHeader
- type XMLDataEntry
- type XMLNodeHostInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Distro ¶
type Distro struct {
Text string `xml:",chardata"`
}
Distro represents OS distribution
type Docker ¶
type Docker struct {
Text string `xml:",chardata"`
}
Docker represents docker daemon of NLT
type HostInfoRoot ¶
type HostInfoRoot struct {
AttrHost string `xml:"host,attr"`
AttrVersion string `xml:"version,attr"`
Multipath Multipath `xml:"multipath,omitempty"`
NLT NLT `xml:"nlt,omitempty"`
OS OS `xml:"os,omitempty"`
SystemInfo SystemInfo `xml:"systeminfo,omitempty"`
}
HostInfoRoot represents root element of xml data collected
type HostInformation ¶
type HostInformation struct {
SystemInfo JSONSystemInfo
OS JSONOS
GetWindowsFeature []JSONGetWindowsFeature
MpioRegisteredDsms JSONMpioRegisteredDsms
}
HostInformation represents Windows host information
type Hostname ¶
type Hostname struct {
Text string `xml:",chardata"`
}
Hostname represents hostname of system
type JSONDsmParameter ¶
JSONDsmParameter represents DSM information
type JSONGetWindowsFeature ¶
JSONGetWindowsFeature represents windows feature element
type JSONMpioRegisteredDsms ¶
type JSONMpioRegisteredDsms struct {
NumberDSMs int
DsmParameters []JSONDsmParameter
}
JSONMpioRegisteredDsms represents registered windows DSM information
type JSONSystemInfo ¶
JSONSystemInfo represents systeminfo element
type Kernel ¶
type Kernel struct {
Text string `xml:",chardata"`
}
Kernel represents kernel version of the host
type Manufacturer ¶
type Manufacturer struct {
Text string `xml:",chardata"`
}
Manufacturer represents system manufacturer info
type Multipath ¶
type Multipath struct {
Attrversion string `xml:"version,attr"`
MultipathConf MultipathConf `xml:"conf,omitempty"`
}
Multipath represents multipath version and multipath.conf settings
type MultipathBlacklist ¶
type MultipathBlacklist struct {
MultipathDevice MultipathDevice `xml:"device,omitempty"`
MultipathEntries MultipathEntries `xml:"entries,omitempty"`
}
MultipathBlacklist represents blacklist section of multipath.conf
type MultipathBlacklistExceptions ¶
type MultipathBlacklistExceptions struct {
MultipathDevice MultipathDevice `xml:"device,omitempty"`
MultipathEntries MultipathEntries `xml:"entries,omitempty"`
}
MultipathBlacklistExceptions represents blacklist_exceptions section of multipath.conf
type MultipathConf ¶
type MultipathConf struct {
MultipathBlackList MultipathBlacklist `xml:"blacklist,omitempty"`
MultipathBlacklistExceptions MultipathBlacklistExceptions `xml:"blacklist_exceptions,omitempty"`
MultipathDefaults MultipathDefaults `xml:"defaults,omitempty"`
MultipathDevices MultipathDevices `xml:"devices,omitempty"`
}
MultipathConf represents multipath.conf settings
type MultipathDefaults ¶
type MultipathDefaults struct {
MultipathProperties MultipathProperties `xml:"properties,omitempty"`
}
MultipathDefaults represents defaults section of multipath.conf
type MultipathDevice ¶
type MultipathDevice struct {
MultipathProperties MultipathProperties `xml:"properties,omitempty"`
}
MultipathDevice represents device section of multipath.conf
type MultipathDevices ¶
type MultipathDevices struct {
MultipathDevice MultipathDevice `xml:"device,omitempty"`
}
MultipathDevices represents devices section of multipath.conf
type MultipathEntries ¶
type MultipathEntries struct {
MultipathProperties MultipathProperties `xml:"properties,omitempty"`
}
MultipathEntries represents parameter entries in multipath.conf
type MultipathProperties ¶
type MultipathProperties struct {
MultipathProperty []MultipathProperty `xml:"property,omitempty"`
}
MultipathProperties represents various property key-value pairs in multipath.conf
type MultipathProperty ¶
type MultipathProperty struct {
Attrname string `xml:"name,attr"`
Attrvalue string `xml:"value,attr"`
}
MultipathProperty represents key-value property in multipath.conf
type NCMScaleout ¶
type NCMScaleout struct {
Text string `xml:",chardata"`
}
NCMScaleout represent scale-out mode info
type NLT ¶
type NLT struct {
Attrversion string `xml:"version,attr"`
Docker Docker `xml:"docker,omitempty"`
NCM NCM `xml:"ncm,omitempty"`
NCMScaleout NCMScaleout `xml:"ncmscaleout,omitempty"`
Oracle Oracle `xml:"oracle,omitempty"`
}
NLT represents NLT version and component info
type OS ¶
type OS struct {
Distro Distro `xml:"distro,omitempty"`
Kernel Kernel `xml:"kernel,omitempty"`
Sanboot Sanboot `xml:"sanboot,omitempty"`
Version Version `xml:"version,omitempty"`
}
OS represents various information about OS
type Oracle ¶
type Oracle struct {
Text string `xml:",chardata"`
}
Oracle represents oracle daemon info
type ProductName ¶
type ProductName struct {
Text string `xml:",chardata"`
}
ProductName represent server information
type Root ¶
type Root struct {
ITNInfo ITNInfo `xml:"itn_info,omitempty"`
HostInfoRoot HostInfoRoot `xml:"root,omitempty"`
}
Root represents root element of XML
type Sanboot ¶
type Sanboot struct {
Text string `xml:",chardata"`
}
Sanboot represents is system is booted from SAN
type SystemInfo ¶
type SystemInfo struct {
AttrTimestamp string `xml:"timestamp,attr"`
Hostname Hostname `xml:"hostname,omitempty"`
Manufacturer Manufacturer `xml:"manufacturer,omitempty"`
ProductName ProductName `xml:"productname,omitempty"`
}
SystemInfo represents system information
type Version ¶
type Version struct {
Text string `xml:",chardata"`
}
Version represents OS version info
type XMLArrayHeader ¶
type XMLArrayHeader struct {
TimeStamp string `xml:"timestamp,attr"`
}
XMLArrayHeader represents header added by GDD for host info
type XMLDataEntry ¶
XMLDataEntry represents each host entry in the host info log
type XMLNodeHostInfo ¶
type XMLNodeHostInfo struct {
// OS generic XML nodes
XMLName xml.Name `xml:"root"`
Host string `xml:"host,attr"`
Version string `xml:"version,attr"`
SystemInfo string `xml:"systeminfo"`
OS string `xml:"os"`
// Windows specific XML nodes
GetWindowsFeature string `xml:"GET_WINDOWSFEATURE"`
MpioRegisteredDsm string `xml:"MPIO_REGISTERED_DSM"`
}
XMLNodeHostInfo represent root element for host information