dns

package
v1.2.12 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package dns provides operations needed to interact with DNS in an e2e test.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface added in v1.0.0

type Interface interface {
	// Create adds DNS A records pointing `randomNames` at the IP address to the configured DNS zone
	// and returns the resulting domain names and the records added to the zone.
	Create(randomNames []string, ip string) ([]string, []*dns.ResourceRecordSet, error)
	// Delete deletes specified records from the DNS zone `d.zone`.
	Delete(records []*dns.ResourceRecordSet) error
}

func New

func New(oauthClient *http.Client, zone, domain string) (Interface, error)

Jump to

Keyboard shortcuts

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