Documentation ¶
Overview ¶
Package foreignclustercontroller implements the logic of the ForeignCluster controller
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIServerCheckers ¶
type APIServerCheckers struct {
// contains filtered or unexported fields
}
APIServerCheckers manage the foreign API server checker functions.
func NewAPIServerCheckers ¶
func NewAPIServerCheckers(idManager identitymanager.IdentityManager, pingInterval, pingTimeout time.Duration) APIServerCheckers
NewAPIServerCheckers returns a new APIServerCheckers struct.
type ForeignClusterReconciler ¶
type ForeignClusterReconciler struct { client.Client Scheme *runtime.Scheme ResyncPeriod time.Duration NetworkingEnabled bool AuthenticationEnabled bool OffloadingEnabled bool // Handle concurrent access to the map containing the cancel context functions of the API server checkers. APIServerCheckers }
ForeignClusterReconciler reconciles a ForeignCluster object.
func (*ForeignClusterReconciler) Reconcile ¶
func (r *ForeignClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err error)
Reconcile reconciles ForeignCluster resources.
func (*ForeignClusterReconciler) SetupWithManager ¶
func (r *ForeignClusterReconciler) SetupWithManager(mgr ctrl.Manager, workers int) error
SetupWithManager assigns the operator to a manager.
Click to show internal directories.
Click to hide internal directories.