mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
19 lines
639 B
Go
19 lines
639 B
Go
|
package containerd
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"github.com/docker/docker/api/types"
|
||
|
"github.com/docker/docker/api/types/filters"
|
||
|
registrytypes "github.com/docker/docker/api/types/registry"
|
||
|
)
|
||
|
|
||
|
// SearchRegistryForImages queries the registry for images matching
|
||
|
// term. authConfig is used to login.
|
||
|
//
|
||
|
// TODO: this could be implemented in a registry service instead of the image
|
||
|
// service.
|
||
|
func (i *ImageService) SearchRegistryForImages(ctx context.Context, searchFilters filters.Args, term string, limit int, authConfig *types.AuthConfig, metaHeaders map[string][]string) (*registrytypes.SearchResults, error) {
|
||
|
panic("not implemented")
|
||
|
}
|