dns

package
v0.0.0-...-0b561f8 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeProvider

type FakeProvider struct{}

func (*FakeProvider) Delete

func (_ *FakeProvider) Delete(record *iov1.DNSRecord, zone configv1.DNSZone) error

func (*FakeProvider) Ensure

func (_ *FakeProvider) Ensure(record *iov1.DNSRecord, zone configv1.DNSZone) error

func (*FakeProvider) Replace

func (_ *FakeProvider) Replace(record *iov1.DNSRecord, zone configv1.DNSZone) error

type Provider

type Provider interface {
	// Ensure will create or update record.
	Ensure(record *iov1.DNSRecord, zone configv1.DNSZone) error

	// Delete will delete record.
	Delete(record *iov1.DNSRecord, zone configv1.DNSZone) error

	// Replace will replace the record
	Replace(record *iov1.DNSRecord, zone configv1.DNSZone) error
}

Provider knows how to manage DNS zones only as pertains to routing.

Directories

Path Synopsis
ibm

Jump to

Keyboard shortcuts

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