type factoryGenerator … var _ … func (g *factoryGenerator) Filter(c *generator.Context, t *types.Type) bool { … } func (g *factoryGenerator) Namers(c *generator.Context) namer.NameSystems { … } func (g *factoryGenerator) Imports(c *generator.Context) (imports []string) { … } func (g *factoryGenerator) GenerateType(c *generator.Context, t *types.Type, w io.Writer) error { … } var sharedInformerFactoryStruct … var sharedInformerFactoryInterface …