type Interface … type version … // New returns a new Interface. func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { … } // Leases returns a LeaseInformer. func (v *version) Leases() LeaseInformer { … }