Discover Packages
github.com/khulnasoft/observatrace/server
controller
cloud
filereader
package
Version:
v0.0.0-...-b8a1a0e
Opens a new window with list of versions in this module.
Published: Jan 31, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
type AZ struct {
Name string `yaml:"name"`
Region string `yaml:"region"`
}
type FileInfo struct {
Regions []Region `yaml:"regions"`
AZs []AZ `yaml:"azs"`
Hosts []Host `yaml:"hosts"`
VPCs []VPC `yaml:"tenants"`
Networks []Network `yaml:"networks"`
Subnets []Subnet `yaml:"subnets"`
Routers []Router `yaml:"routers"`
VMs []VM `yaml:"vms"`
}
type Host struct {
IP string `yaml:"ip"`
MemoryMb int `yaml:"memory_mb"`
VCPUs int `yaml:"vcpus"`
AZ string `yaml:"az"`
Region string `yaml:"region"`
}
type Network struct {
Name string `yaml:"name"`
External bool `yaml:"external"`
NetType string `yaml:"net_type"`
Shared bool `yaml:"shared"`
SegmentationID int `yaml:"segmentation_id"`
VPC string `yaml:"tenant_name"`
AZ string `yaml:"az"`
Region string `yaml:"region"`
}
type Port struct {
IP string `yaml:"ip_address"`
Mac string `yaml:"mac_address"`
Subnet string `yaml:"subnet_name"`
}
type Region struct {
Name string `yaml:"name"`
}
type Router struct {
Name string `yaml:"name"`
GWLaunchServer string `yaml:"gw_launch_server"`
VPC string `yaml:"tenant_name"`
Region string `yaml:"region"`
Ports []Port `yaml:"ports"`
}
type Subnet struct {
Name string `yaml:"name"`
CIDR string `yaml:"cidr"`
GatewayIP string `yaml:"gateway_ip"`
Network string `yaml:"network_name"`
}
type VM struct {
Name string `yaml:"name"`
LaunchServer string `yaml:"launch_server"`
VPC string `yaml:"tenant_name"`
AZ string `yaml:"az"`
Region string `yaml:"region"`
Ports []Port `yaml:"ports"`
}
type VPC struct {
Name string `yaml:"name"`
Region string `yaml:"region"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.