Documentation ¶
Index ¶
- func GetDnsMsg(name string, qType uint16) *dns.Msg
- func LoadAuthDataFromDNS(dnsAddr string, name string) ([]*discovery.AuthData, error)
- func ResolveWan(c *dns.Client, dnsAddr string, ptr *dns.PTR) (*discovery.AuthData, error)
- func StartOperator(mgr *manager.Manager, requeueAfter time.Duration, ...)
- type SearchDomainReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadAuthDataFromDNS ¶
load a list of foreign AuthServices given a DNS domain name. These foreign services have to be added in a PTR record for that domain name, for example: liqo.mycompany.com myliqo1.mycompany.com, myliqo2.mycompany.com can be 2 different clusters registered on a company domain. For each cluster than we have to have a SRV record that specify the port where to contact that cluster
func ResolveWan ¶
func StartOperator ¶
Types ¶
type SearchDomainReconciler ¶
type SearchDomainReconciler struct { Scheme *runtime.Scheme DiscoveryCtrl *discovery.DiscoveryCtrl DnsAddress string // contains filtered or unexported fields }
func GetSDReconciler ¶
func GetSDReconciler(scheme *runtime.Scheme, crdClient *crdClient.CRDClient, discoveryCtrl *discovery.DiscoveryCtrl, requeueAfter time.Duration) *SearchDomainReconciler
func (*SearchDomainReconciler) SetupWithManager ¶
func (r *SearchDomainReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.