2022-07-18 12:51:49 +02:00
|
|
|
package containerd
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
|
|
|
"github.com/docker/docker/api/types/filters"
|
2022-07-29 15:36:39 +02:00
|
|
|
"github.com/docker/docker/api/types/registry"
|
2022-07-18 12:51:49 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
// 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.
|
2022-07-29 15:36:39 +02:00
|
|
|
func (i *ImageService) SearchRegistryForImages(ctx context.Context, searchFilters filters.Args, term string, limit int, authConfig *registry.AuthConfig, metaHeaders map[string][]string) (*registry.SearchResults, error) {
|
2022-07-18 12:51:49 +02:00
|
|
|
panic("not implemented")
|
|
|
|
}
|