Versions in this module Expand all Collapse all v2 v2.1.4 Oct 1, 2025 Changes in this version + type CallFunctionsAfterBecameLeader struct + func NewCallFunctionsAfterBecameLeader(enableFunctions []func(context.Context)) *CallFunctionsAfterBecameLeader + func (j *CallFunctionsAfterBecameLeader) NeedLeaderElection() bool + func (j *CallFunctionsAfterBecameLeader) Start(ctx context.Context) error + type CronJob struct + func NewCronJob(cfg CronJobConfig) *CronJob + func (j *CronJob) Start(ctx context.Context) error + type CronJobConfig struct + JitterFactor float64 + Logger logr.Logger + Period time.Duration + ReadyCh <-chan struct{} + Worker func(context.Context) + type Leader struct + func (r *Leader) NeedLeaderElection() bool + type LeaderOrNonLeader struct + func (r *LeaderOrNonLeader) NeedLeaderElection() bool Other modules containing this package github.com/nginx/nginx-gateway-fabric