Documentation ¶
Index ¶
Constants ¶
View Source
const ClusterNameLabel = "cloud.nephio.org/cluster"
Variables ¶
This section is empty.
Functions ¶
func NewGRPCManager ¶
Types ¶
type Reconciler ¶
type Reconciler struct { client.Client Scheme *runtime.Scheme GRPCManager *gRPCManager WatcherManager *WatcherManager WatchEvents chan event.GenericEvent Log logr.Logger }
Reconciler reconciles a WatcherAgent object
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type WatcherManager ¶
type WatcherManager struct {
// contains filtered or unexported fields
}
WatcherManager manages different watchers based on the received WatchRequests There is one-to-one mapping between watchers and WatchRequests.
func NewManager ¶
func (*WatcherManager) ListWatches ¶
func (m *WatcherManager) ListWatches(key types.NamespacedName) map[v1alpha1. WatchRequest]*watcher.Watcher
ListWatches returns currently active watchers mapped to corresponding watchReq
Click to show internal directories.
Click to hide internal directories.