Documentation ¶
Index ¶
- Constants
- func InitClusterStatusChecker(ctx context.Context, mgr ctrl.Manager) (clusterchecker.Checker, error)
- func RegisterToManager(ctx context.Context, mgr manager.Manager, options RegisterOptions) error
- type GlobalServiceReconciler
- type RegisterOptions
- type RemoteClusterReconciler
- type RemoteClusterStatusChecker
- type RemoteClusterUUIDReconciler
- type RemoteEndpointSliceReconciler
- type RemoteSubnetGarbageCollection
- type RemoteSubnetReconciler
- type RemoteVTEPGarbageCollection
- type RemoteVtepReconciler
- type UUIDMutex
Constants ¶
const ( ConditionDaemonRegistered = "DaemonRegistered" ConditionCheckerExecuted = "CheckerExecuted" )
const CheckerRemoteClusterStatus = "RemoteClusterStatus"
const ControllerGlobalService = "GlobalService"
const ControllerRemoteCluster = "RemoteCluster"
const ControllerRemoteClusterUUID = "RemoteClusterUUID"
const (
ControllerRemoteEndpointSlice = "RemoteEndpointSlice"
)
const ControllerRemoteSubnet = "RemoteSubnet"
const ControllerRemoteVTEP = "RemoteVTEP"
Variables ¶
This section is empty.
Functions ¶
func InitClusterStatusChecker ¶ added in v0.5.0
func RegisterToManager ¶ added in v0.6.0
Types ¶
type GlobalServiceReconciler ¶ added in v0.7.0
type GlobalServiceReconciler struct { context.Context client.Client concurrency.ControllerConcurrency }
GlobalServiceReconciler reconciles a global Service object
func (*GlobalServiceReconciler) SetupWithManager ¶ added in v0.7.0
func (r *GlobalServiceReconciler) SetupWithManager(mgr ctrl.Manager) (err error)
type RegisterOptions ¶ added in v0.6.0
type RemoteClusterReconciler ¶
type RemoteClusterReconciler struct { context.Context client.Client Recorder record.EventRecorder UUIDMutex UUIDMutex DaemonHub managerruntime.DaemonHub ClusterStatusCheckChan chan<- string LocalManager manager.Manager concurrency.ControllerConcurrency }
RemoteClusterReconciler reconciles a RemoteCluster object
func (*RemoteClusterReconciler) SetupWithManager ¶
func (r *RemoteClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RemoteClusterStatusChecker ¶
type RemoteClusterStatusChecker struct { client.Client Logger logr.Logger Recorder record.EventRecorder CheckPeriod time.Duration Checker clusterchecker.Checker ClusterStatusCheckChan <-chan string Queue workqueue.RateLimitingInterface DaemonHub managerruntime.DaemonHub Concurrency concurrency.ControllerConcurrency }
type RemoteClusterUUIDReconciler ¶
type RemoteClusterUUIDReconciler struct { client.Client Recorder record.EventRecorder UUIDMutex UUIDMutex concurrency.ControllerConcurrency }
func (*RemoteClusterUUIDReconciler) SetupWithManager ¶
func (r *RemoteClusterUUIDReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RemoteEndpointSliceReconciler ¶ added in v0.7.0
type RemoteEndpointSliceReconciler struct { context.Context client.Client ClusterName string ParentCluster cluster.Cluster ParentClusterObject *multiclusterv1.RemoteCluster }
RemoteEndpointSliceReconciler reconciles EndpointSlice objects of parent cluster
func (*RemoteEndpointSliceReconciler) SetupWithManager ¶ added in v0.7.0
func (r *RemoteEndpointSliceReconciler) SetupWithManager(mgr ctrl.Manager) (err error)
type RemoteSubnetGarbageCollection ¶
type RemoteSubnetGarbageCollection struct {
// contains filtered or unexported fields
}
func NewRemoteSubnetGarbageCollection ¶
func NewRemoteSubnetGarbageCollection(logger logr.Logger, reconciler *RemoteSubnetReconciler) *RemoteSubnetGarbageCollection
func (*RemoteSubnetGarbageCollection) EventChannel ¶
func (r *RemoteSubnetGarbageCollection) EventChannel() <-chan event.GenericEvent
type RemoteSubnetReconciler ¶
type RemoteSubnetReconciler struct { client.Client ClusterName string ParentCluster cluster.Cluster ParentClusterObject *multiclusterv1.RemoteCluster SubnetSet sets.CallbackSet }
RemoteSubnetReconciler reconciles a RemoteSubnet object
func (*RemoteSubnetReconciler) SetupWithManager ¶
func (r *RemoteSubnetReconciler) SetupWithManager(mgr ctrl.Manager) (err error)
SetupWithManager sets up the controller with the Manager.
type RemoteVTEPGarbageCollection ¶
type RemoteVTEPGarbageCollection struct {
// contains filtered or unexported fields
}
func NewRemoteVTEPGarbageCollection ¶
func NewRemoteVTEPGarbageCollection(logger logr.Logger, eventChan chan<- event.GenericEvent, reconciler *RemoteVtepReconciler) *RemoteVTEPGarbageCollection
type RemoteVtepReconciler ¶
type RemoteVtepReconciler struct { context.Context client.Client ClusterName string ParentCluster cluster.Cluster ParentClusterObject *multiclusterv1.RemoteCluster SubnetSet sets.CallbackSet EventTrigger chan event.GenericEvent }
RemoteVtepReconciler reconciles a Node object to RemoveVtep in parent cluster
func (*RemoteVtepReconciler) RefreshAll ¶
func (r *RemoteVtepReconciler) RefreshAll()
RefreshAll will trigger all nodes to reconcile, this function should be called when recognized subnet set change
func (*RemoteVtepReconciler) SetupWithManager ¶
func (r *RemoteVtepReconciler) SetupWithManager(mgr ctrl.Manager) (err error)
SetupWithManager sets up the controller with the Manager.