Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSP ¶
type CSP struct {
Name string `json:"name"`
VPC []VPC `json:"vpc"`
NLB []NLB `json:"nlb"`
SecurityGroup []SecurityGroup `json:"security_group"`
}
CSP TODO
type DNS ¶
type DNS struct {
DNSServer []string `json:"dns_server"` // IPv4 or IPv6 DNS Server Addresses
}
DNS TODO
type FirewallRule ¶
type FirewallRule struct {
Priority uint `json:"priority"` // Lower has higher priority
Src string `json:"src"`
Dst string `json:"dst"`
SrcPorts string `json:"src_ports"`
DstPorts string `json:"dst_ports"`
Protocol string `json:"protocol"` // TCP, UDP, ICMP
Direction string `json:"direction"` // inbound, outbound
Action string `json:"action"` // allow, deny
}
type Host ¶
type Host struct {
NetworkInterface []NIC `json:"network_interface"`
DNS DNS `json:"dns"`
Route []Route `json:"route"`
FirewallRule []FirewallRule `json:"firewall_rule"`
}
type NLB ¶
type NLB struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Listener string `json:"listener"`
TargetGroup string `json:"target_group"`
HealthChecker string `json:"health_checker"`
}
NLB TODO
type SecurityGroup ¶
type SecurityGroup struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
VnetID string `json:"vnet_id"`
FirewallRule []FirewallRule `json:"firewall_rule"`
}
SecurityGroup TODO
Click to show internal directories.
Click to hide internal directories.