nsdns

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NamesiloRecordFromIngress

func NamesiloRecordFromIngress(ingress *networkingv1.Ingress, domainName, ip string) (*namesilo_api.ResourceRecord, error)

func NewDnsManagerCache added in v0.1.2

func NewDnsManagerCache() *dnsManagerCache

Types

type DnsManager added in v0.1.2

type DnsManager struct {
	BareDomainName     string
	TargetIngressClass string

	Api namesilo_api.NamesiloApi

	RefreshesCacheOnUpdate bool
	// contains filtered or unexported fields
}

func NewDnsManager added in v0.1.2

func NewDnsManager(domainName, ingressClass string) (*DnsManager, error)

func NewDnsManagerWithApiKey added in v0.1.2

func NewDnsManagerWithApiKey(domainName, ingressClass, apiKey string) (*DnsManager, error)

func (*DnsManager) HandleIngressDeleted added in v0.1.2

func (dm *DnsManager) HandleIngressDeleted(ingress *apinetworkingv1.Ingress) error

func (*DnsManager) HandleIngressExists added in v0.1.2

func (dm *DnsManager) HandleIngressExists(ingress *apinetworkingv1.Ingress) error

func (*DnsManager) ShouldProcessIngress added in v0.1.2

func (dm *DnsManager) ShouldProcessIngress(ingress *apinetworkingv1.Ingress) bool

func (*DnsManager) UpdateCache added in v0.1.2

func (dm *DnsManager) UpdateCache() error

Jump to

Keyboard shortcuts

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