Instead of keeping an extra field in `Client`, we just use the existing `sysCtx.DockerAuthConfig` structure. When the context is later copied during the upload operation the credentials will be copied as well. It also saves us from syncing the credentials if we directly use said `sysCtx` for operations. |
||
|---|---|---|
| .. | ||
| client.go | ||