dns

package
v0.0.0-...-086a27a Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatAsName

func FormatAsName(name string) (output string)

FormatAsName ... tidy a domain name

func ReverseDomain

func ReverseDomain(name string) (output string)

ReverseDomain ... convert domain name into reverse domain name

func UpsertDNSEndpoint

func UpsertDNSEndpoint(dynamicClientset dynamic.Interface, entry Entry, instanceName string) (err error)

UpsertDNSEndpoint ... create or update (if it already exists) a DNS endpoint (managed by external-dns) in the managed zone

Types

type Entry

type Entry struct {
	Subdomain string   `json:"subdomain"`
	Values    []string `json:"values"`
}

Entry ... a basic DNS record

Jump to

Keyboard shortcuts

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