github.com/Heebron/moby@v0.0.0-20221111184709-6eab4f55faf7/daemon/containerd/image_search.go (about) 1 package containerd 2 3 import ( 4 "context" 5 "errors" 6 7 "github.com/docker/docker/api/types/filters" 8 "github.com/docker/docker/api/types/registry" 9 "github.com/docker/docker/errdefs" 10 ) 11 12 // SearchRegistryForImages queries the registry for images matching 13 // term. authConfig is used to login. 14 // 15 // TODO: this could be implemented in a registry service instead of the image 16 // service. 17 func (i *ImageService) SearchRegistryForImages(ctx context.Context, searchFilters filters.Args, term string, limit int, authConfig *registry.AuthConfig, metaHeaders map[string][]string) (*registry.SearchResults, error) { 18 return nil, errdefs.NotImplemented(errors.New("not implemented")) 19 }