Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlushStatus ¶ added in v0.2.0
FlushStatus is a convenience helper that gets tracker from context and flushes
func WithStatusTracker ¶ added in v0.2.0
func WithStatusTracker(ctx context.Context, tracker *StatusTracker) context.Context
WithStatusTracker adds a status tracker to the context
Types ¶
type FunctionReconciler ¶
type FunctionReconciler struct {
client.Client
Scheme *runtime.Scheme
Recorder events.EventRecorder
FuncCliManager funccli.Manager
GitManager git.Manager
OperatorNamespace string
}
FunctionReconciler reconciles a Function object
func (*FunctionReconciler) SetupWithManager ¶
func (r *FunctionReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type StatusTracker ¶ added in v0.2.0
type StatusTracker struct {
// contains filtered or unexported fields
}
StatusTracker manages incremental status updates during reconciliation
func GetStatusTracker ¶ added in v0.2.0
func GetStatusTracker(ctx context.Context) *StatusTracker
GetStatusTracker retrieves the tracker from context
func NewStatusTracker ¶ added in v0.2.0
func NewStatusTracker(k8sClient client.Client, function *v1alpha1.Function) *StatusTracker
NewStatusTracker creates a new status tracker with a snapshot of the current function state
Click to show internal directories.
Click to hide internal directories.