code: func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, error) {
  	switch version {
  	case v1.SchemeGroupVersion:
  		return &meta.VersionInterfaces{
  			ObjectConvertor:  api.Scheme,
  			MetadataAccessor: accessor,
  		}, nil
  	default:
  		g, _ := registered.Group(autoscaling.GroupName)
  		return nil, fmt.Errorf("unsupported storage version: %s (valid: %v)", version, g.GroupVersions)
  	}
  }
docs: // interfacesFor returns the default Codec and ResourceVersioner for a given version
  // string, or an error if the version is not known.