MCPcopy Index your code
hub / github.com/docker/cli / ImageTag

Method ImageTag

cli/command/image/client_test.go:39–44  ·  view source on GitHub ↗
(_ context.Context, options client.ImageTagOptions)

Source from the content-addressed store, hash-verified

37func (e fakeStreamResult) Close() error { return e.ReadCloser.Close() }
38
39func (cli *fakeClient) ImageTag(_ context.Context, options client.ImageTagOptions) (client.ImageTagResult, error) {
40 if cli.imageTagFunc != nil {
41 return cli.imageTagFunc(options)
42 }
43 return client.ImageTagResult{}, nil
44}
45
46func (cli *fakeClient) ImageSave(_ context.Context, images []string, options ...client.ImageSaveOption) (client.ImageSaveResult, error) {
47 if cli.imageSaveFunc != nil {

Callers 2

newTagCommandFunction · 0.80
TagTrustedFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected