bluecat

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BluecatProvider

type BluecatProvider struct {
	provider.BaseProvider

	RootZone         string
	DNSConfiguration string
	DNSServerName    string
	DNSDeployType    string
	View             string

	TxtPrefix string
	TxtSuffix string
	// contains filtered or unexported fields
}

BluecatProvider implements the DNS provider for Bluecat DNS

func NewBluecatProvider

func NewBluecatProvider(configFile, dnsConfiguration, dnsServerName, dnsDeployType, dnsView, gatewayHost, rootZone, txtPrefix, txtSuffix string, domainFilter endpoint.DomainFilter, zoneIDFilter provider.ZoneIDFilter, dryRun, skipTLSVerify bool) (*BluecatProvider, error)

NewBluecatProvider creates a new Bluecat provider.

Returns a pointer to the provider or an error if a provider could not be created.

func (*BluecatProvider) ApplyChanges

func (p *BluecatProvider) ApplyChanges(ctx context.Context, changes *plan.Changes) error

ApplyChanges updates necessary zones and replaces old records with new ones

Returns nil upon success and err is there is an error

func (*BluecatProvider) Records

func (p *BluecatProvider) Records(ctx context.Context) (endpoints []*endpoint.Endpoint, err error)

Records fetches Host, CNAME, and TXT records from bluecat gateway

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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