dns

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FloatingIPWithDNSExt

type FloatingIPWithDNSExt struct {
	floatingips.FloatingIP
	dns.FloatingIPDNSExt
}

FloatingIPWithDNSExt represents a floating IP with the DNS fields

func CreateFloatingIPDNS

func CreateFloatingIPDNS(t *testing.T, client *gophercloud.ServiceClient, networkID, portID, dnsName, dnsDomain string) (*FloatingIPWithDNSExt, error)

CreateFloatingIPDNS creates a floating IP with the DNS extension on a given network and port. An error will be returned if the creation failed.

type NetworkWithDNSExt

type NetworkWithDNSExt struct {
	networks.Network
	dns.NetworkDNSExt
}

NetworkWithDNSExt represents a network with the DNS fields

func CreateNetworkDNS

func CreateNetworkDNS(t *testing.T, client *gophercloud.ServiceClient, dnsDomanin string) (*NetworkWithDNSExt, error)

CreateNetworkDNS will create a network with a DNS domain set. An error will be returned if the network could not be created.

type PortWithDNSExt

type PortWithDNSExt struct {
	ports.Port
	dns.PortDNSExt
}

PortWithDNSExt represents a port with the DNS fields

func CreatePortDNS

func CreatePortDNS(t *testing.T, client *gophercloud.ServiceClient, networkID, subnetID, dnsName string) (*PortWithDNSExt, error)

CreatePortDNS will create a port with a DNS name on the specified subnet. An error will be returned if the port could not be created.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL