type LeaseCandidateGCController … // NewLeaseCandidateGC creates a new LeaseCandidateGCController. func NewLeaseCandidateGC(clientset kubernetes.Interface, gcCheckPeriod time.Duration, leaseCandidateInformer coordinationv1alpha1informers.LeaseCandidateInformer) *LeaseCandidateGCController { … } // Run starts one worker. func (c *LeaseCandidateGCController) Run(ctx context.Context) { … } func (c *LeaseCandidateGCController) gc(ctx context.Context) { … }