vendor: github.com/moby/moby/api v1.52.0-beta.1, client v0.1.0-beta.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Co-authored-by: Austin Vazquez <austin.vazquez@docker.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-09-05 22:41:03 +02:00
co-authored by Austin Vazquez
parent 9fb049c8b6
commit b55fed5ef6
110 changed files with 1024 additions and 761 deletions
+3 -2
View File
@@ -8,6 +8,7 @@ import (
"github.com/docker/cli/internal/test"
"github.com/moby/moby/api/types/container"
"github.com/moby/moby/client"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
)
@@ -17,7 +18,7 @@ func TestRunCommit(t *testing.T) {
containerCommitFunc: func(
ctx context.Context,
ctr string,
options container.CommitOptions,
options client.ContainerCommitOptions,
) (container.CommitResponse, error) {
assert.Check(t, is.Equal(options.Author, "Author Name <author@name.com>"))
assert.Check(t, is.DeepEqual(options.Changes, []string{"EXPOSE 80"}))
@@ -54,7 +55,7 @@ func TestRunCommitClientError(t *testing.T) {
containerCommitFunc: func(
ctx context.Context,
ctr string,
options container.CommitOptions,
options client.ContainerCommitOptions,
) (container.CommitResponse, error) {
return container.CommitResponse{}, clientError
},