dns

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RecordSetTypePrefix = "Microsoft.Network/dnszones/"
	RecordSetTypeA      = RecordSetTypePrefix + string(azuredns.A)
	RecordSetTypeCNAME  = RecordSetTypePrefix + string(azuredns.CNAME)
	RecordSetTypeNS     = RecordSetTypePrefix + string(azuredns.NS)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Scope

type Scope interface {
	logr.Logger
	azure.ResourceGroupDescriber
	DNSSpec() azure.DNSSpec
	SetNSRecordSetSpecs(nsRecordSetSpecs []azure.NSRecordSetSpec)
}

type Service

type Service struct {
	Scope Scope
	// contains filtered or unexported fields
}

Service provides operations on Azure resources.

func New

func New(scope Scope, publicIPsService *capzpublicips.Service) *Service

New creates a new dns service.

func (*Service) Reconcile

func (s *Service) Reconcile(ctx context.Context) error

Reconcile creates or updates the DNS zone, and creates DNS A and CNAME records.

Jump to

Keyboard shortcuts

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