nameserver

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Query

type Query interface {
	// Get the name servers under the specified root domain.
	Get(rootDomain string) (map[string]sets.String, error)

	// Create name servers for the specified domain under the specified root domain.
	Create(rootDomain string, domain string, values sets.String) error

	// Delete the name servers for the specified domain under the specified root domain.
	// If specified values of the name servers only serve as guidance for what to delete.
	// If there are other name servers for the specified domain server, those will be
	// deleted as well.
	Delete(rootDomain string, domain string, values sets.String) error
}

Query is used to perform queries for name servers.

func NewAWSQuery

func NewAWSQuery(c client.Client, credsSecretName string, region string) Query

NewAWSQuery creates a new name server query for AWS.

func NewGCPQuery

func NewGCPQuery(c client.Client, credsSecretName string) Query

NewGCPQuery creates a new name server query for GCP.

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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