Discover Packages
github.com/cloud-barista/cm-beetle
pkg
api
rest
model
source
infra
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Dec 13, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type CPU struct {
Vendor string `json:"vendor"`
Model string `json:"model"`
Speed uint `json:"speed"`
Cache uint `json:"cache"`
Cpus uint `json:"cpus"`
Cores uint `json:"cores"`
Threads uint `json:"threads"`
}
type ComputeResource struct {
CPU CPU `json:"cpu"`
Memory Memory `json:"memory"`
Storage []Storage `json:"storage"`
}
type Infra struct {
Compute Compute `json:"compute"`
}
type Kernel struct {
Release string `json:"release"`
Version string `json:"version"`
Architecture string `json:"architecture"`
}
type Memory struct {
Type string `json:"type"`
Speed uint `json:"speed"`
Size uint `json:"size"`
}
type Node struct {
Hostname string `json:"hostname"`
Hypervisor string `json:"hypervisor"`
Machineid string `json:"machineid"`
Timezone string `json:"timezone"`
}
type OS struct {
Name string `json:"name"`
Vendor string `json:"vendor"`
Version string `json:"version"`
Release string `json:"release"`
Architecture string `json:"architecture"`
}
type Storage struct {
Name string `json:"name"`
Driver string `json:"driver"`
Vendor string `json:"vendor"`
Model string `json:"model"`
Serial string `json:"serial"`
Size uint `json:"size"`
}
type System struct {
OS OS `json:"os"`
Kernel Kernel `json:"kernel"`
Node Node `json:"node"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.