mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
4dd86a0b33
- prefer error over panic where possible - ContainerChanges is not implemented by snapshotter-based ImageService Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
19 lines
672 B
Go
19 lines
672 B
Go
package containerd
|
|
|
|
import (
|
|
"context"
|
|
"errors"
|
|
|
|
"github.com/docker/docker/api/types/filters"
|
|
"github.com/docker/docker/api/types/registry"
|
|
"github.com/docker/docker/errdefs"
|
|
)
|
|
|
|
// 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 *registry.AuthConfig, metaHeaders map[string][]string) (*registry.SearchResults, error) {
|
|
return nil, errdefs.NotImplemented(errors.New("not implemented"))
|
|
}
|