Documentation
¶
Index ¶
- type GenerationOrMetadataChangedPredicate
- func (GenerationOrMetadataChangedPredicate) Create(e event.CreateEvent) bool
- func (GenerationOrMetadataChangedPredicate) Delete(e event.DeleteEvent) bool
- func (GenerationOrMetadataChangedPredicate) Generic(e event.GenericEvent) bool
- func (GenerationOrMetadataChangedPredicate) Update(e event.UpdateEvent) bool
- type StatusMetadataChangedPredicate
- type TinyFlowReconciler
- type TinyModuleReconciler
- type TinyNodeReconciler
- type TinyProjectReconciler
- type TinySignalReconciler
- type TinyTrackerReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerationOrMetadataChangedPredicate ¶ added in v0.1.195
GenerationOrMetadataChangedPredicate combines generation changes with status.metadata changes. This ensures reconciliation on: - Spec changes (generation bump) - standard behavior - Status.metadata changes - allows non-leaders to pick up leader's metadata updates
func (GenerationOrMetadataChangedPredicate) Create ¶ added in v0.1.195
func (GenerationOrMetadataChangedPredicate) Create(e event.CreateEvent) bool
func (GenerationOrMetadataChangedPredicate) Delete ¶ added in v0.1.195
func (GenerationOrMetadataChangedPredicate) Delete(e event.DeleteEvent) bool
func (GenerationOrMetadataChangedPredicate) Generic ¶ added in v0.1.195
func (GenerationOrMetadataChangedPredicate) Generic(e event.GenericEvent) bool
func (GenerationOrMetadataChangedPredicate) Update ¶ added in v0.1.195
func (GenerationOrMetadataChangedPredicate) Update(e event.UpdateEvent) bool
type StatusMetadataChangedPredicate ¶ added in v0.1.195
StatusMetadataChangedPredicate triggers reconciliation when status.metadata changes. This allows non-leader pods to detect when the leader updates metadata (e.g., port info).
func (StatusMetadataChangedPredicate) Update ¶ added in v0.1.195
func (StatusMetadataChangedPredicate) Update(e event.UpdateEvent) bool
type TinyFlowReconciler ¶ added in v0.1.148
TinyFlowReconciler reconciles a TinyFlow object
func (*TinyFlowReconciler) Reconcile ¶ added in v0.1.148
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the TinyFlow object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
func (*TinyFlowReconciler) SetupWithManager ¶ added in v0.1.148
func (r *TinyFlowReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TinyModuleReconciler ¶
type TinyModuleReconciler struct {
client.Client
Scheme *runtime.Scheme
Module module.Info
ClientPool clientpool.Pool
IsLeader *atomic.Bool
}
TinyModuleReconciler reconciles a TinyModule object
func (*TinyModuleReconciler) Reconcile ¶
func (r *TinyModuleReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the TinyModule object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile
func (*TinyModuleReconciler) SetupWithManager ¶
func (r *TinyModuleReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TinyNodeReconciler ¶
type TinyNodeReconciler struct {
client.Client
Scheme *runtime.Scheme
Scheduler scheduler.Scheduler
Module module.Info
IsLeader *atomic.Bool
}
TinyNodeReconciler reconciles a TinyNode object
func (*TinyNodeReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the TinyNode object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile
func (*TinyNodeReconciler) SetupWithManager ¶
func (r *TinyNodeReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TinyProjectReconciler ¶ added in v0.1.148
TinyProjectReconciler reconciles a TinyProject object
func (*TinyProjectReconciler) Reconcile ¶ added in v0.1.148
func (r *TinyProjectReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the TinyProject object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.0/pkg/reconcile
func (*TinyProjectReconciler) SetupWithManager ¶ added in v0.1.148
func (r *TinyProjectReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TinySignalReconciler ¶ added in v0.1.30
type TinySignalReconciler struct {
client.Client
Scheme *runtime.Scheme
Scheduler scheduler.Scheduler
Module module.Info
IsLeader *atomic.Bool
// contains filtered or unexported fields
}
TinySignalReconciler reconciles a TinySignal object
func (*TinySignalReconciler) CancelAllRunningProcesses ¶ added in v0.1.192
func (r *TinySignalReconciler) CancelAllRunningProcesses()
CancelAllRunningProcesses cancels all running signal processes. This should be called when the pod loses leadership to ensure clean handoff.
func (*TinySignalReconciler) Reconcile ¶ added in v0.1.30
func (r *TinySignalReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the TinySignal object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile
func (*TinySignalReconciler) RequeueAllOnLeadershipChange ¶ added in v0.1.192
func (r *TinySignalReconciler) RequeueAllOnLeadershipChange()
RequeueAllOnLeadershipChange triggers requeue of all TinySignals when this pod becomes leader. This ensures signals that were skipped while not leader get processed.
func (*TinySignalReconciler) SetupWithManager ¶ added in v0.1.30
func (r *TinySignalReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TinyTrackerReconciler ¶
type TinyTrackerReconciler struct {
client.Client
Scheme *runtime.Scheme
Manager tracker.Manager
IsLeader *atomic.Bool
}
TinyTrackerReconciler reconciles a TinyTracker object
func (*TinyTrackerReconciler) Reconcile ¶
func (r *TinyTrackerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the TinyTracker object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile
func (*TinyTrackerReconciler) SetupWithManager ¶
func (r *TinyTrackerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.