Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datastore ¶
type Datastore struct {
DiskId string
FreeCapacityGB float64
TotalCapacityGB float64
Type string
HostId string
Model string
ProtocolType string
Vendor string
}
Datastore represents a VMware datastore.
type DiskSizeTierSummary ¶
DiskSizeTierSummary contains VM count and total size for a disk size tier.
type DiskTypeSummary ¶
DiskTypeSummary contains disk usage aggregated by datastore type.
type InfraData ¶
type InfraData struct {
Hosts []Host
HostPowerStates map[string]int
Datastores []Datastore
Networks []Network
TotalHosts int
TotalDatacenters int
ClustersPerDatacenter []int
CPUOverCommitment *float64
MemoryOverCommitment *float64
}
InfraData contains infrastructure-level data (hosts, datastores, networks).
type Inventory ¶
type Inventory struct {
VCenterID string
VCenter *InventoryData
Clusters map[string]InventoryData
}
Inventory is the domain representation of infrastructure inventory. It contains vCenter-level data and per-cluster inventories.
type InventoryData ¶
InventoryData contains VM and infrastructure data for a scope (vCenter or cluster).
type MigrationIssue ¶
MigrationIssue represents a migration concern with its count.
type ResourceBreakdown ¶
type ResourceBreakdown struct {
Total int
TotalForMigratable int
TotalForMigratableWithWarnings int
TotalForNotMigratable int
}
ResourceBreakdown contains resource totals split by migrability status.
type VMsData ¶
type VMsData struct {
Total int
TotalMigratable int
TotalMigratableWithWarnings int
PowerStates map[string]int
OSInfo map[string]OSInfo
CPUCores ResourceBreakdown
RamGB ResourceBreakdown
DiskCount ResourceBreakdown
DiskGB ResourceBreakdown
NicCount ResourceBreakdown
DistributionByCPUTier map[string]int
DistributionByMemoryTier map[string]int
DistributionByNICCount map[string]int
DiskSizeTiers map[string]DiskSizeTierSummary
DiskTypes map[string]DiskTypeSummary
MigrationWarnings []MigrationIssue
NotMigratableReasons []MigrationIssue
}
VMsData contains aggregated VM statistics and distribution data.