Versions in this module Expand all Collapse all v2 v2.0.1 Mar 22, 2026 v2.0.0 Mar 22, 2026 Changes in this version + const ConditionFalse + const ConditionTrue + const ConditionUnknown + func ErrNoop() error + func ErrSkipReconciliation() error + func ErrStatusUnknown(e error) error + func ForceRequeue(ctx context.Context) + func ForceStatusUpdate(ctx context.Context) + func HandleFinalizer[T ConditionedType](ctx context.Context, c client.Client, obj T, finalizer string, ...) (bool, error) + type AnyConditionedReconciler interface + Reconcile func(context.Context, reconcile.Request) (reconcile.Result, error) + type Condition struct + LastProbeTime metav1.Time + LastTransitionTime metav1.Time + Message string + ObservedGeneration int64 + Reason ConditionReason + Status corev1.ConditionStatus + Type ConditionType + func Available() Condition + func Creating() Condition + func Deleting() Condition + func ErrorCondition(condType ConditionType, reason ConditionReason, err error) Condition + func ReadyCondition(condType ConditionType) Condition + func ReconcileError(err error) Condition + func ReconcilePending() Condition + func ReconcileSuccess() Condition + func Unavailable() Condition + func UnknownCondition(condType ConditionType, reason ConditionReason, message string) Condition + func (c Condition) Equal(other Condition) bool + func (c Condition) WithMessage(msg string) Condition + func (in *Condition) DeepCopy() *Condition + func (in *Condition) DeepCopyInto(out *Condition) + type ConditionReason string + const ReasonAvailable + const ReasonCreating + const ReasonDeleting + const ReasonReconcileError + const ReasonReconcilePending + const ReasonReconcileSuccess + const ReasonUnavailable + type ConditionType string + const TypeReady + const TypeSynced + type ConditionedReconciler struct + func NewConditionedReconciler[T ConditionedType](c client.Client, scheme *runtime.Scheme, obj T, interval time.Duration) *ConditionedReconciler[T] + func (r *ConditionedReconciler[T]) AddPostHook(fn func(context.Context, T) error) + func (r *ConditionedReconciler[T]) AddPreHook(fn func(context.Context, T) error) + func (r *ConditionedReconciler[T]) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error) + func (r *ConditionedReconciler[T]) SetCondition(ct ConditionType, fn func(context.Context, T) error) + func (r *ConditionedReconciler[T]) SetFinalizer(finalizer string, fn func(context.Context, T) error) + type ConditionedStatus struct + Conditions []Condition + func NewConditionedStatus(c ...Condition) *ConditionedStatus + func (in *ConditionedStatus) DeepCopy() *ConditionedStatus + func (in *ConditionedStatus) DeepCopyInto(out *ConditionedStatus) + func (s *ConditionedStatus) AllTrue(condTypes ...ConditionType) bool + func (s *ConditionedStatus) AnyUnknown(condTypes ...ConditionType) bool + func (s *ConditionedStatus) Equal(other *ConditionedStatus) bool + func (s *ConditionedStatus) ErrAllTrue(condTypes ...ConditionType) error + func (s *ConditionedStatus) GetCondition(ct ConditionType) Condition + func (s *ConditionedStatus) IsAvailable() bool + func (s *ConditionedStatus) SetConditions(c ...Condition) + type ConditionedType interface + ConditionedStatus func() *ConditionedStatus + InitializeConditionedStatus func() + type FinalizerFunc func(context.Context, T) error + type ReconcilerContext struct + ForceRequeue bool + ForceUpdate bool + ReconcileInterval time.Duration + func GetReconcilerContext(ctx context.Context) *ReconcilerContext + func (in *ReconcilerContext) DeepCopy() *ReconcilerContext + func (in *ReconcilerContext) DeepCopyInto(out *ReconcilerContext) Other modules containing this package go.wasmcloud.dev/runtime-operator