dns

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("resource not found")

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(clusterScope *scope.ClusterScope) *Service

DNS service returns a new helper for managing a MaaS "DNS" (DNS client loadbalancing)

func (*Service) GetAPIServerDNSRecords

func (s *Service) GetAPIServerDNSRecords() (sets.String, error)

func (*Service) GetDNSResource

func (s *Service) GetDNSResource() (maasclient.DNSResource, error)

func (*Service) MachineIsRegisteredWithAPIServerDNS

func (s *Service) MachineIsRegisteredWithAPIServerDNS(i *infrainfrav1beta1.Machine) (bool, error)

InstanceIsRegisteredWithAPIServerELB returns true if the instance is already registered with the APIServer ELB.

func (*Service) ReconcileDNS

func (s *Service) ReconcileDNS() error

ReconcileDNS reconciles the load balancers for the given cluster.

func (*Service) UpdateDNSAttachments

func (s *Service) UpdateDNSAttachments(IPs []string) error

UpdateAttachments reconciles the load balancers for the given cluster.

Jump to

Keyboard shortcuts

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