image_search.go 585 B

1234567891011121314151617
  1. package containerd
  2. import (
  3. "context"
  4. "github.com/docker/docker/api/types/filters"
  5. "github.com/docker/docker/api/types/registry"
  6. )
  7. // SearchRegistryForImages queries the registry for images matching
  8. // term. authConfig is used to login.
  9. //
  10. // TODO: this could be implemented in a registry service instead of the image
  11. // service.
  12. func (i *ImageService) SearchRegistryForImages(ctx context.Context, searchFilters filters.Args, term string, limit int, authConfig *registry.AuthConfig, metaHeaders map[string][]string) (*registry.SearchResults, error) {
  13. panic("not implemented")
  14. }