compose/pkg
Sebastiaan van Stijn 713de5bb9e pkg/compose: explicitly map AuthConfig fields instead of a direct cast
Commit [cli@27b2797] forked the AuthConfig type from the API, and changed
existing code to do a direct cast / convert of the forked type to the API
type. This can cause issues if the API types diverges, such as the removal
of the Email field.

This patch explicitly maps each field to the corresponding API type, but
adds some TODOs, because various code-paths only included a subset of the
fields, which may be intentional for fields that were meant to be handled
on the daemon / registry-client only.

We should evaluate these conversions to make sure these fields should
be sent from the client or not (and possibly even removed from the API
type).

[cli@27b2797]: 27b2797f7d

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-09-29 15:24:42 +02:00
..
api pkg/compose: build: remove permissions warning on Windows 2025-09-24 10:26:05 +02:00
bridge fixed lint error 2025-07-28 10:07:03 +02:00
compose pkg/compose: explicitly map AuthConfig fields instead of a direct cast 2025-09-29 15:24:42 +02:00
e2e resolve secrets based on env var before executing bake 2025-09-22 14:56:15 +02:00
mocks pkg/mocks: re-generate mocks 2025-09-25 16:50:44 +02:00
progress improved lint error 2025-07-27 15:12:38 +02:00
prompt
remote go.mod: bump buildx v0.28.0-rc2, buildkit v0.24.0-rc2 2025-09-02 07:28:06 +02:00
utils
watch pkg/watch: remove unused IsWindowsShortReadError 2025-09-24 09:29:27 +02:00