entities

package
v0.0.0-...-6c31ca2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type About

type About struct {
	Name        string
	Description string
	Size        string
}

************************************************************************************** **************************************************************************************

type AboutBaseboard

type AboutBaseboard struct {
	Name         string
	Version      string
	SerialNumber string
	Vendor       string
	BIOSversion  string
}

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 AboutBaseboardXml struct {
	Name         string `xml:"name"`
	Version      string `xml:"version"`
	SerialNumber string `xml:"serial_number"`
	Vendor       string `xml:"vendor"`
	BIOSversion  string `xml:"bios_version"`
}

type AboutCPU

type AboutCPU struct {
	TotalCores   string
	TotalThreads string
	Processors   string
}

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 AboutCPUXml struct {
	Name         string `xml:"name"`
	Version      string `xml:"version"`
	SerialNumber string `xml:"serial_number"`
	Vendor       string `xml:"vendor"`
	BIOSversion  string `xml:"bios_version"`
}

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 AboutDisk

type AboutDisk struct {
	Name                   string
	SizeBytes              string
	PhysicalBlockSizeBytes string
	IsRemovable            bool
	DriveType              string
	StorageController      string
	Vendor                 string
	Model                  string
	SerialNumber           string
	WWN                    string
	Partitions             string
}

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 Authors

type Authors struct {
	Name   string
	Email  string
	Github string
}

type AuthorsMongo

type AuthorsMongo struct {
	Name   string `json:"name,omitempty" bson:"name,omitempty"`
	Email  string `json:"email,omitempty" bson:"email,omitempty"`
	Github string `json:"github,omitempty" bson:"github,omitempty"`
}

type AuthorsXml

type AuthorsXml struct {
	Name   string `xml:"Name"`
	Email  string `xml:"Email"`
	Github string `xml:"Github"`
}

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 Bluetooth

type Bluetooth struct {
	Name    string
	Version string
	MAC     string
}

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 BluetoothXml struct {
	Name    string `xml:"name"`
	Version string `xml:"version"`
	MAC     string `xml:"mac"`
}

type CPU

type CPU struct {
	AboutCPU  AboutCPU
	Processor Processor
}

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 Drivers struct {
	URL  string
	Name string
	Size int
}

************************************************************************************** **************************************************************************************

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

type DriversXml struct {
	URL  string `xml:"url"`
	Name string `xml:"name"`
	Size string `xml:"size"`
}

************************************************************************************** ************************** XML DATA *************************************** **************************************************************************************

type Framework

type Framework struct {
	Name     string
	Version  string
	Language string
}

type FrameworkMongo

type FrameworkMongo struct {
	Name     string `json:"name,omitempty" bson:"name,omitempty"`
	Version  string `json:"version,omitempty" bson:"version,omitempty"`
	Language string `json:"language,omitempty" bson:"language,omitempty"`
}

type FrameworkXml

type FrameworkXml struct {
	Name     string `xml:"Name"`
	Version  string `xml:"Version"`
	Language string `xml:"Language"`
}

type GPU

type GPU struct {
	AboutGPU AboutGPU
}

type GPUMongo

type GPUMongo struct {
	AboutGPUMongo AboutGPUMongo `json:"about_gpu,omitempty" bson:"about_gpu,omitempty"`
}

type Interface

type Interface struct {
	Name      string
	HAddr     string
	MTU       string
	Flag      string
	IsVirtual bool
}

************************************************************************************** **************************************************************************************

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 Languages

type Languages struct {
	Name string
	Ext  string
	Docs string
}

type LanguagesMongo

type LanguagesMongo struct {
	Name string `json:"name,omitempty" bson:"name,omitempty"`
	Ext  string `json:"ext,omitempty" bson:"ext,omitempty"`
	Docs string `json:"docs,omitempty" bson:"docs,omitempty"`
}

type LanguagesXml

type LanguagesXml struct {
	Name string `xml:"Name"`
	Ext  string `xml:"Ext"`
	Docs string `xml:"Docs"`
}

type Network

type Network struct {
	Interface []Interface
	Bluetooth []Bluetooth
}

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"`
}

type Repository

type Repository struct {
	Url   string
	Stars int
	Fork  int
}

type RepositoryMongo

type RepositoryMongo struct {
	Url   string `json:"url,omitempty" bson:"url,omitempty"`
	Stars int    `json:"stars,omitempty" bson:"stars,omitempty"`
	Fork  int    `json:"fork,omitempty" bson:"fork,omitempty"`
}

type RepositoryXml

type RepositoryXml struct {
	Url   string `xml:"Url"`
	Stars int    `xml:"Stars"`
	Fork  int    `xml:"Fork"`
}

Jump to

Keyboard shortcuts

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