Versions in this module Expand all Collapse all v1 v1.4.0 Mar 29, 2026 v1.3.0 Mar 16, 2026 Changes in this version + const OperationCreate + const OperationDelete + const OperationUpdate + const ReasonConfig + const ReasonGitHubAPI + const ReasonOwnership + const ReasonSecretCreate + const ReasonSecretUpdate + const ReasonStatusUpdate + const ReasonTransient + const ResultError + const ResultSuccess + type Recorder struct + func Setup() (*Recorder, error) + func (r *Recorder) EnsureTokenActive(ctx context.Context, controllerName, tokenKey string) + func (r *Recorder) RecordConfigError(ctx context.Context, source string) + func (r *Recorder) RecordGitHubAPIDuration(ctx context.Context, d time.Duration, err error) + func (r *Recorder) RecordGitHubTokenRequest(ctx context.Context, err error) + func (r *Recorder) RecordReconcileError(ctx context.Context, controllerName, reason string) + func (r *Recorder) RecordSecretOperation(ctx context.Context, controllerName, operation, result string) + func (r *Recorder) RecordTokenExpiry(ctx context.Context, controllerName, namespace, name string, ...) + func (r *Recorder) RecordTokenRefresh(ctx context.Context, controllerName, result string) + func (r *Recorder) RecordTokenRefreshDuration(ctx context.Context, controllerName, operation string, d time.Duration) + func (r *Recorder) RemoveTokenActive(ctx context.Context, controllerName, tokenKey string) + func (r *Recorder) Shutdown(ctx context.Context) error