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
Click to show internal directories.
Click to hide internal directories.