Skip to content

manage image inspect data in backend#44080

Closed
ndeloof wants to merge 1 commit intomoby:masterfrom
ndeloof:upstream_27
Closed

manage image inspect data in backend#44080
ndeloof wants to merge 1 commit intomoby:masterfrom
ndeloof:upstream_27

Conversation

@ndeloof
Copy link
Copy Markdown
Contributor

@ndeloof ndeloof commented Sep 1, 2022

- What I did
upstream rumpl#27

@ndeloof ndeloof requested review from corhere, rumpl and thaJeztah and removed request for rumpl and thaJeztah September 1, 2022 14:46
@thaJeztah thaJeztah added status/2-code-review area/images Image Service containerd-integration Issues and PRs related to containerd integration labels Sep 1, 2022
@thaJeztah thaJeztah added this to the v-next milestone Sep 1, 2022
// GetImage returns an image corresponding to the image referred to by refOrID.
func (i *ImageService) GetImage(refOrID string, options imagetype.GetImageOpts) (retImg *image.Image, retErr error) {
panic("not implemented")
func (i *ImageService) GetImage(ctx context.Context, refOrID string, options imagetype.GetImageOpts) (*image.Image, error) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR probably depends on the context changes and/or "inspect" change to go in first;

#41 0.150 ---> Making bundle: binary (in /build/bundles/binary)
#41 0.186 Building: /build/bundles/binary-daemon/dockerd
#41 0.186 GOOS="" GOARCH="" GOARM=""
#41 44.98 # github.com/docker/docker/daemon/images
#41 44.98 daemon/images/cache.go:19:31: not enough arguments in call to i.GetImage
#41 44.98 	have (string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 	want (context.Context, string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 daemon/images/image_builder.go:171:31: not enough arguments in call to i.GetImage
#41 44.98 	have (string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 	want (context.Context, string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 daemon/images/image_builder.go:215:35: not enough arguments in call to i.GetImage
#41 44.98 	have (string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 	want (context.Context, string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 daemon/images/image_delete.go:67:35: not enough arguments in call to i.GetImage
#41 44.98 	have (string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 	want (context.Context, string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 daemon/images/image_events.go:15:34: not enough arguments in call to i.GetImage
#41 44.98 	have (string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 	want (context.Context, string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 daemon/images/image_history.go:16:31: not enough arguments in call to i.GetImage
#41 44.98 	have (string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 	want (context.Context, string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 daemon/images/image_history.go:72:42: not enough arguments in call to i.GetImage
#41 44.98 	have (string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 	want (context.Context, string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 daemon/images/image_list.go:53:41: not enough arguments in call to i.GetImage
#41 44.98 	have (string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 	want (context.Context, string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 daemon/images/image_list.go:61:40: not enough arguments in call to i.GetImage
#41 44.98 	have (string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 	want (context.Context, string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 daemon/images/image_pull.go:67:33: not enough arguments in call to i.GetImage
#41 44.98 	have (string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 	want (context.Context, string, "github.com/docker/docker/api/types/image".GetImageOpts)
#41 44.98 daemon/images/image_pull.go:67:33: too many errors
#41 ERROR: process "/bin/sh -c hack/make.sh binary" did not complete successfully: exit code: 2

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes sorry, this was just an initial experiment based on cherry-picking a single commit, shouldhave ben opened as Draft

@ndeloof ndeloof marked this pull request as draft September 2, 2022 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/images Image Service containerd-integration Issues and PRs related to containerd integration status/2-code-review

Projects

Development

Successfully merging this pull request may close these issues.

2 participants