Documentation ¶
Index ¶
- Variables
- type Service
- func (s *Service) GetAPIServerDNSRecords() (sets.String, error)
- func (s *Service) GetDNSResource() (maasclient.DNSResource, error)
- func (s *Service) MachineIsRegisteredWithAPIServerDNS(i *infrainfrav1beta1.Machine) (bool, error)
- func (s *Service) ReconcileDNS() error
- func (s *Service) UpdateDNSAttachments(IPs []string) error
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 (*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 ¶
ReconcileDNS reconciles the load balancers for the given cluster.
func (*Service) UpdateDNSAttachments ¶
UpdateAttachments reconciles the load balancers for the given cluster.
Click to show internal directories.
Click to hide internal directories.