Documentation ¶
Index ¶
- type About
- type AboutBaseboard
- type AboutBaseboardMongo
- type AboutBaseboardXml
- type AboutCPU
- type AboutCPUMongo
- type AboutCPUXml
- type AboutCacheMemory
- type AboutCacheMemoryMongo
- type AboutChassi
- type AboutChassiMongo
- type AboutDisk
- type AboutDiskMongo
- type AboutGPU
- type AboutGPUMongo
- type AboutMongo
- type AboutXml
- type Authors
- type AuthorsMongo
- type AuthorsXml
- type Baseboard
- type BaseboardMongo
- type BaseboardXml
- type Bluetooth
- type BluetoothMongo
- type BluetoothXml
- type CPU
- type CPUMongo
- type CPUXml
- type CacheMemory
- type CacheMemoryMongo
- type Chassi
- type ChassiMongo
- type Disk
- type DiskMongo
- type Drivers
- type DriversMongo
- type DriversXml
- type Framework
- type FrameworkMongo
- type FrameworkXml
- type GPU
- type GPUMongo
- type Interface
- type InterfaceMongo
- type InterfaceXml
- type Languages
- type LanguagesMongo
- type LanguagesXml
- type Network
- type NetworkMongo
- type NetworkXml
- type Partitions
- type PartitionsMongo
- type Processor
- type ProcessorCPUXml
- type ProcessorMongo
- type Project
- type ProjectMongo
- type ProjectXml
- type Repository
- type RepositoryMongo
- type RepositoryXml
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type About ¶
************************************************************************************** **************************************************************************************
type AboutBaseboard ¶
type AboutBaseboardMongo ¶
type AboutBaseboardMongo struct { Name string `json:"name,omitempty" bson:"name,omitempty"` Version string `json:"version,omitempty" bson:"version,omitempty"` SerialNumber string `json:"serial_number,omitempty" bson:"serial_number,omitempty"` Vendor string `json:"vendor,omitempty" bson:"vendor,omitempty"` BIOSversion string `json:"bios_version,omitempty" bson:"bios_version,omitempty"` }
type AboutBaseboardXml ¶
type AboutCPUMongo ¶
type AboutCPUMongo struct { Name string `json:"name,omitempty" bson:"name,omitempty"` Version string `json:"version,omitempty" bson:"version,omitempty"` SerialNumber string `json:"serial_number,omitempty" bson:"serial_number,omitempty"` Vendor string `json:"vendor,omitempty" bson:"vendor,omitempty"` BIOSversion string `json:"bios_version,omitempty" bson:"bios_version,omitempty"` }
type AboutCPUXml ¶
type AboutCacheMemory ¶
type AboutCacheMemory struct { Type string UNIFIED string Level string SizeBytes bool LogicalProcessors string }
************************************************************************************** **************************************************************************************
type AboutCacheMemoryMongo ¶
type AboutCacheMemoryMongo struct { Type string `json:"type,omitempty" bson:"type,omitempty"` UNIFIED string `json:"unified,omitempty" bson:"unified,omitempty"` Level string `json:"level,omitempty" bson:"level,omitempty"` SizeBytes bool `json:"size_bytes,omitempty" bson:"size_bytes,omitempty"` LogicalProcessors string `json:"logical_processors,omitempty" bson:"logical_processors,omitempty"` }
************************************************************************************** ************************** MONGODB *************************************** **************************************************************************************
type AboutChassi ¶
type AboutChassi struct { Tag string SerialNumber string Type string TypeDescription bool Vendor string Version string }
************************************************************************************** **************************************************************************************
type AboutChassiMongo ¶
type AboutChassiMongo struct { Tag string `json:"tag,omitempty" bson:"tag,omitempty"` SerialNumber string `json:"serial_number,omitempty" bson:"serial_number,omitempty"` Type string `json:"type,omitempty" bson:"type,omitempty"` TypeDescription string `json:"type_description,omitempty" bson:"type_description,omitempty"` Vendor bool `json:"vendor,omitempty" bson:"vendor,omitempty"` Version string `json:"version,omitempty" bson:"version,omitempty"` }
************************************************************************************** ************************** MONGODB *************************************** **************************************************************************************
type AboutDiskMongo ¶
type AboutDiskMongo struct { Name string `json:"name,omitempty" bson:"name,omitempty"` SizeBytes string `json:"size_bytes,omitempty" bson:"size_bytes,omitempty"` PhysicalBlockSizeBytes string `json:"physical_block_size_bytes,omitempty" bson:"physical_block_size_bytes,omitempty"` IsRemovable bool `json:"is_removable,omitempty" bson:"is_removable,omitempty"` DriveType string `json:"drive_type,omitempty" bson:"drive_type,omitempty"` StorageController string `json:"storage_controller,omitempty" bson:"storage_controller,omitempty"` Vendor string `json:"vendor,omitempty" bson:"vendor,omitempty"` Model string `json:"model,omitempty" bson:"model,omitempty"` SerialNumber string `json:"serial_number,omitempty" bson:"serial_number,omitempty"` WWN string `json:"wwn,omitempty" bson:"wwn,omitempty"` Partitions string `json:"partitions,omitempty" bson:"partitions,omitempty"` }
type AboutGPU ¶
type AboutGPU struct { Name string Vendor string Addrs string SerialNumber string Subsystem string Class string Subclass string ProgrammingInterface string }
************************************************************************************** **************************************************************************************
type AboutGPUMongo ¶
type AboutGPUMongo struct { Name string `json:"name,omitempty" bson:"name,omitempty"` Vendor string `json:"vendor,omitempty" bson:"vendor,omitempty"` Addrs string `json:"addrs,omitempty" bson:"addrs,omitempty"` SerialNumber string `json:"serial_number,omitempty" bson:"serial_number,omitempty"` Subsystem string `json:"subsystem,omitempty" bson:"subsystem,omitempty"` Class string `json:"class,omitempty" bson:"class,omitempty"` Subclass bool `json:"subclass,omitempty" bson:"subclass,omitempty"` ProgrammingInterface string `json:"programming_interface,omitempty" bson:"programming_interface,omitempty"` }
************************************************************************************** ************************** MONGODB *************************************** **************************************************************************************
type AboutMongo ¶
type AboutMongo struct { Name string `json:"name,omitempty" bson:"name,omitempty"` Description string `json:"description,omitempty" bson:"description,omitempty"` Size string `json:"size,omitempty" bson:"size,omitempty"` }
************************************************************************************** ************************** MONGODB *************************************** **************************************************************************************
type AboutXml ¶
type AboutXml struct { Name string `xml:"Name"` Description string `xml:"Description"` Size string `xml:"Size"` }
************************************************************************************** ************************** XML DATA *************************************** **************************************************************************************
type AuthorsMongo ¶
type AuthorsXml ¶
type Baseboard ¶
type Baseboard struct { AboutBaseboard AboutBaseboard Drivers []Drivers }
type BaseboardMongo ¶
type BaseboardMongo struct { AboutBaseboardMongo AboutBaseboardMongo `json:"about,omitempty" bson:"about,omitempty"` DriversMongo []DriversMongo `json:"drivers,omitempty" bson:"drivers,omitempty"` }
type BaseboardXml ¶
type BaseboardXml struct { AboutBaseboardXml AboutBaseboardXml `xml:"about"` DriversXml []DriversXml `xml:"drivers"` }
type BluetoothMongo ¶
type BluetoothMongo struct { Name string `json:"name,omitempty" bson:"name,omitempty"` Version string `json:"version,omitempty" bson:"version,omitempty"` MAC string `json:"mac,omitempty" bson:"mac,omitempty"` }
************************************************************************************** ************************** MONGODB *************************************** **************************************************************************************
type BluetoothXml ¶
type CPUMongo ¶
type CPUMongo struct { AboutCPUMongo AboutCPUMongo `json:"about_cpu,omitempty" bson:"about_cpu,omitempty"` ProcessorMongo ProcessorMongo `json:"processor,omitempty" bson:"processor,omitempty"` }
type CPUXml ¶
type CPUXml struct { AboutCPUXml AboutCPUXml `xml:"about"` ProcessorCPUXml ProcessorCPUXml `xml:"processor"` }
type CacheMemory ¶
type CacheMemory struct {
AboutCacheMemory AboutCacheMemory
}
type CacheMemoryMongo ¶
type CacheMemoryMongo struct {
AboutCacheMemoryMongo AboutCacheMemoryMongo `json:"about_cache,omitempty" bson:"about_cache,omitempty"`
}
type Chassi ¶
type Chassi struct {
AboutChassi AboutChassi
}
type ChassiMongo ¶
type ChassiMongo struct {
AboutChassiMongo AboutChassiMongo `json:"about_chassi,omitempty" bson:"about_chassi,omitempty"`
}
type Disk ¶
type Disk struct { AboutDisk AboutDisk Partitions []Partitions }
type DiskMongo ¶
type DiskMongo struct { AboutCPUMongo AboutCPUMongo `json:"about_cpu,omitempty" bson:"about_cpu,omitempty"` ProcessorMongo ProcessorMongo `json:"processor,omitempty" bson:"processor,omitempty"` }
type Drivers ¶
************************************************************************************** **************************************************************************************
type DriversMongo ¶
type DriversMongo struct { URL string `json:"url,omitempty" bson:"url,omitempty"` Name string `json:"name,omitempty" bson:"name,omitempty"` Size int `json:"size,omitempty" bson:"size,omitempty"` }
************************************************************************************** ************************** MONGODB *************************************** **************************************************************************************
type DriversXml ¶
************************************************************************************** ************************** XML DATA *************************************** **************************************************************************************
type FrameworkMongo ¶
type FrameworkXml ¶
type GPUMongo ¶
type GPUMongo struct {
AboutGPUMongo AboutGPUMongo `json:"about_gpu,omitempty" bson:"about_gpu,omitempty"`
}
type Interface ¶
************************************************************************************** **************************************************************************************
type InterfaceMongo ¶
type InterfaceMongo struct { Name string `json:"name,omitempty" bson:"name,omitempty"` HAddr string `json:"hardware_address,omitempty" bson:"hardware_address,omitempty"` MTU string `json:"mtu,omitempty" bson:"mtu,omitempty"` Flag string `json:"flag,omitempty" bson:"flag,omitempty"` IsVirtual bool `json:"is_virtual,omitempty" bson:"is_virtual,omitempty"` }
type InterfaceXml ¶
type InterfaceXml struct { Name string `xml:"name"` HAddr string `xml:"hardware_address"` MTU string `xml:"mtu"` Flag string `xml:"flag"` IsVirtual string `xml:"is_virtual"` }
************************************************************************************** ************************** XML DATA *************************************** **************************************************************************************
type LanguagesMongo ¶
type LanguagesXml ¶
type NetworkMongo ¶
type NetworkMongo struct { InterfaceMongo []InterfaceMongo `json:"interface_mongo,omitempty" bson:"interface_mongo,omitempty"` BluetoothMongo []BluetoothMongo `json:"bluetooth_mongo,omitempty" bson:"bluetooth_mongo,omitempty"` }
type NetworkXml ¶
type NetworkXml struct { InterfaceXml []LanguagesXml `xml:"interface"` BluetoothXml []AuthorsXml `xml:"bluetooth"` }
type Partitions ¶
type Partitions struct { Name string SizeBytes string MountPoint string Type string IsReadOnly bool Disk string UUID string }
************************************************************************************** **************************************************************************************
type PartitionsMongo ¶
type PartitionsMongo struct { Name string `json:"name,omitempty" bson:"name,omitempty" ` SizeBytes string `json:"size_bytes,omitempty" bson:"size_bytes,omitempty"` MountPoint string `json:"mount_point,omitempty" bson:"mount_point,omitempty"` Type string `json:"type,omitempty" bson:"type,omitempty"` IsReadOnly bool `json:"is_readonly,omitempty" bson:"is_readonly,omitempty"` Disk string `json:"disk,omitempty" bson:"disk,omitempty"` UUID string `json:"uuid,omitempty" bson:"uuid,omitempty"` }
************************************************************************************** ************************** MONGODB *************************************** **************************************************************************************
type Processor ¶
type Processor struct { ID string NumCores string NumThreads string Vendor string Model string Capabilities string Cores string }
************************************************************************************** **************************************************************************************
type ProcessorCPUXml ¶
type ProcessorCPUXml struct { ID string `xml:"id"` NumCores string `xml:"num_cores"` NumThreads string `xml:"num_threads"` Vendor string `xml:"vendor"` Model string `xml:"model"` Capabilities string `xml:"capabilities"` Cores string `xml:"cores"` }
************************************************************************************** ************************** XML DATA *************************************** **************************************************************************************
type ProcessorMongo ¶
type ProcessorMongo struct { ID string `json:"id,omitempty" bson:"id,omitempty"` NumCores string `json:"num_cores,omitempty" bson:"num_cores,omitempty"` NumThreads string `json:"num_threads,omitempty" bson:"num_threads,omitempty"` Vendor string `json:"vendor,omitempty" bson:"vendor,omitempty"` Model string `json:"model,omitempty" bson:"model,omitempty"` Capabilities string `json:"capabilities,omitempty" bson:"capabilities,omitempty"` Cores string `json:"cores,omitempty" bson:"cores,omitempty"` }
************************************************************************************** ************************** MONGODB *************************************** **************************************************************************************
type Project ¶
type Project struct { About About Languages []Languages Authors []Authors Repository Repository Framework Framework }
type ProjectMongo ¶
type ProjectMongo struct { AboutMongo AboutMongo `json:"about,omitempty" bson:"about,omitempty"` LanguagesMongo []LanguagesMongo `json:"languages,omitempty" bson:"languages,omitempty"` AuthorsMongo []AuthorsMongo `json:"authors,omitempty" bson:"authors,omitempty"` RepositoryMongo RepositoryMongo `json:"repository,omitempty" bson:"repository,omitempty"` FrameworkMongo FrameworkMongo `json:"framework,omitempty" bson:"framework,omitempty"` }
type ProjectXml ¶
type ProjectXml struct { AboutXml AboutXml `xml:"About"` LanguagesXml []LanguagesXml `xml:"Languages"` AuthorsXml []AuthorsXml `xml:"Authors"` RepositoryXml RepositoryXml `xml:"Repository"` FrameworkXml FrameworkXml `xml:"Framework"` }