dns

package
v0.15.1-0...-d274060 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FloatingIPCreateOptsExt

type FloatingIPCreateOptsExt struct {
	// CreateOptsBuilder is the interface options structs have to satisfy in order
	// to be used in the main Create operation in this package.
	floatingips.CreateOptsBuilder

	// Set DNS name to the floating IPs
	DNSName string `json:"dns_name,omitempty"`

	// Set DNS domain to the floating IPs
	DNSDomain string `json:"dns_domain,omitempty"`
}

FloatingIPCreateOptsExt adds floating IP DNS options to the base floatingips.CreateOpts.

func (FloatingIPCreateOptsExt) ToFloatingIPCreateMap

func (opts FloatingIPCreateOptsExt) ToFloatingIPCreateMap() (map[string]interface{}, error)

ToFloatingIPCreateMap casts a CreateOpts struct to a map.

type FloatingIPDNSExt

type FloatingIPDNSExt struct {
	// The DNS name of the floating IP, assigned to the external DNS
	// service.
	DNSName string `json:"dns_name"`

	// The DNS domain of the floating IP, assigned to the external DNS
	// service.
	DNSDomain string `json:"dns_domain"`
}

FloatingIPDNSExt represents a decorated form of a Floating IP with the additional Floating IP DNS information.

type NetworkCreateOptsExt

type NetworkCreateOptsExt struct {
	// CreateOptsBuilder is the interface options structs have to satisfy in order
	// to be used in the main Create operation in this package.
	networks.CreateOptsBuilder

	// Set DNS domain to the network
	DNSDomain string `json:"dns_domain,omitempty"`
}

NetworkCreateOptsExt adds network DNS options to the base networks.CreateOpts.

func (NetworkCreateOptsExt) ToNetworkCreateMap

func (opts NetworkCreateOptsExt) ToNetworkCreateMap() (map[string]interface{}, error)

ToNetworkCreateMap casts a CreateOpts struct to a map.

type NetworkDNSExt

type NetworkDNSExt struct {
	// The DNS domain of the network.
	DNSDomain string `json:"dns_domain"`
}

NetworkDNSExt represents a decorated form of a Network with the additional Network DNS information.

type NetworkUpdateOptsExt

type NetworkUpdateOptsExt struct {
	// UpdateOptsBuilder is the interface options structs have to satisfy in order
	// to be used in the main Update operation in this package.
	networks.UpdateOptsBuilder

	// Set DNS domain to the network
	DNSDomain *string `json:"dns_domain,omitempty"`
}

NetworkUpdateOptsExt adds network DNS options to the base networks.UpdateOpts

func (NetworkUpdateOptsExt) ToNetworkUpdateMap

func (opts NetworkUpdateOptsExt) ToNetworkUpdateMap() (map[string]interface{}, error)

ToNetworkUpdateMap casts an UpdateOpts struct to a map.

type PortCreateOptsExt

type PortCreateOptsExt struct {
	// CreateOptsBuilder is the interface options structs have to satisfy in order
	// to be used in the main Create operation in this package.
	ports.CreateOptsBuilder

	// Set DNS name to the port
	DNSName string `json:"dns_name,omitempty"`
}

PortCreateOptsExt adds port DNS options to the base ports.CreateOpts.

func (PortCreateOptsExt) ToPortCreateMap

func (opts PortCreateOptsExt) ToPortCreateMap() (map[string]interface{}, error)

ToPortCreateMap casts a CreateOpts struct to a map.

type PortDNSExt

type PortDNSExt struct {
	// The DNS name of the port.
	DNSName string `json:"dns_name"`

	// The DNS assignment of the port.
	DNSAssignment []map[string]string `json:"dns_assignment"`
}

PortDNSExt represents a decorated form of a Port with the additional Port DNS information.

type PortListOptsExt

type PortListOptsExt struct {
	ports.ListOptsBuilder

	DNSName string `q:"dns_name"`
}

PortListOptsExt adds the DNS options to the base port ListOpts.

func (PortListOptsExt) ToPortListQuery

func (opts PortListOptsExt) ToPortListQuery() (string, error)

ToPortListQuery adds the DNS options to the base port list options.

type PortUpdateOptsExt

type PortUpdateOptsExt struct {
	// UpdateOptsBuilder is the interface options structs have to satisfy in order
	// to be used in the main Update operation in this package.
	ports.UpdateOptsBuilder

	// Set DNS name to the port
	DNSName *string `json:"dns_name,omitempty"`
}

PortUpdateOptsExt adds DNS options to the base ports.UpdateOpts

func (PortUpdateOptsExt) ToPortUpdateMap

func (opts PortUpdateOptsExt) ToPortUpdateMap() (map[string]interface{}, error)

ToPortUpdateMap casts an UpdateOpts struct to a map.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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