Documentation ¶
Overview ¶
Package searchdomainoperator implements the logic of the SearchDomain Operator
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadAuthDataFromDNS ¶
LoadAuthDataFromDNS loads 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 StartOperator ¶
func StartOperator(mgr manager.Manager, requeueAfter time.Duration, discoveryCtrl *discovery.Controller)
StartOperator setups the SearchDomain operator.
Types ¶
type SearchDomainReconciler ¶
type SearchDomainReconciler struct { client.Client Scheme *runtime.Scheme DiscoveryCtrl *discovery.Controller DNSAddress string // contains filtered or unexported fields }
SearchDomainReconciler is the reconciler manager for SearchDomain resources.
func (*SearchDomainReconciler) Reconcile ¶
func (r *SearchDomainReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reconciles SearchDomain resources.
func (*SearchDomainReconciler) SetupWithManager ¶
func (r *SearchDomainReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager assigns the operator to a manager.