type GenericConfig … func (c *GenericConfig) NewRESTStorage(apiResourceConfigSource serverstorage.APIResourceConfigSource, restOptionsGetter generic.RESTOptionsGetter) (genericapiserver.APIGroupInfo, error) { … } func (c *GenericConfig) GroupName() string { … } func newNotFoundGetter(gr schema.GroupResource) rest.Getter { … } type notFoundGetter … func (g notFoundGetter) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error) { … }