github.com/gophercloud/gophercloud@v1.11.0/openstack/networking/v2/extensions/dns/results.go (about) 1 package dns 2 3 // PortDNSExt represents a decorated form of a Port with the additional 4 // Port DNS information. 5 type PortDNSExt struct { 6 // The DNS name of the port. 7 DNSName string `json:"dns_name"` 8 9 // The DNS assignment of the port. 10 DNSAssignment []map[string]string `json:"dns_assignment"` 11 } 12 13 // FloatingIPDNSExt represents a decorated form of a Floating IP with the 14 // additional Floating IP DNS information. 15 type FloatingIPDNSExt struct { 16 // The DNS name of the floating IP, assigned to the external DNS 17 // service. 18 DNSName string `json:"dns_name"` 19 20 // The DNS domain of the floating IP, assigned to the external DNS 21 // service. 22 DNSDomain string `json:"dns_domain"` 23 } 24 25 // NetworkDNSExt represents a decorated form of a Network with the additional 26 // Network DNS information. 27 type NetworkDNSExt struct { 28 // The DNS domain of the network. 29 DNSDomain string `json:"dns_domain"` 30 }