Sebastiaan van Stijn
46844b4f1d
vendor: github.com/klauspost/compress v1.17.11
...
full diff: https://github.com/klauspost/compress/compare/v1.17.9...v1.17.11
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit e3942d46a0
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-11-13 23:01:16 +01:00
Sebastiaan van Stijn
3f28d05292
vendor: google.golang.org/protobuf v1.35.1
...
full diff: https://github.com/protocolbuffers/protobuf-go/compare/v1.34.1...v1.35.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 1bba009944
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-11-13 23:00:49 +01:00
Sebastiaan van Stijn
2521abdb1b
vendor: golang.org/x/sys v0.26.0
...
full diff: https://github.com/golang/sys/compare/v0.25.0...v0.26.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 02b92c699d
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-11-13 22:59:20 +01:00
Sebastiaan van Stijn
16201b3eb2
vendor: github.com/moby/swarmkit/v2 v2.0.0-20241017191044-e8ecf83ee08e
...
- add Unwrap error to custom error types
- removes dependency on github.com/rexray/gocsi
- fix CSI plugin load issue
full diff: ea1a7cec35...e8ecf83ee0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit cbbb917323
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-10-18 11:38:19 +02:00
Sebastiaan van Stijn
52ac568385
cli/container: use github.com/moby/sys/capability for completions
...
We used a hard-coded list of capabilities that we copied from containerd,
but the new "capability" package allows use to have a maintained list
of capabilities.
There's likely still some improvements to be made;
First of all, the capability package could provide a function to get the list
of strings.
On the completion-side, we need to consider what format is most convenient;
currently we use the canonical name (uppercase and "CAP_" prefix), however,
tab-completion is case-sensitive by default, so requires the user to type
uppercase letters to filter the list of options.
Bash completion provides a `completion-ignore-case on` option to make completion
case-insensitive (https://askubuntu.com/a/87066 ), but it looks to be a global
option; the current cobra.CompletionOptions also don't provide this as an option
to be used in the generated completion-script.
Fish completion has `smartcase` (by default?) which matches any case if
all of the input is lowercase.
Zsh does not have a dedicated option, but allows setting matching-rules
(see https://superuser.com/a/1092328 ).
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 462e08219d
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-10-17 23:08:14 +02:00
Sebastiaan van Stijn
2668b11ce4
vendor: google.golang.org/grpc v1.66.2
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit b6d27ff60e
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-10-14 13:31:11 +02:00
Sebastiaan van Stijn
5cbb4ca191
vendor: google.golang.org/protobuf v1.34.1
...
full diff: https://github.com/protocolbuffers/protobuf-go/compare/v1.33.0...v1.34.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 200225f530
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-10-14 13:31:11 +02:00
Sebastiaan van Stijn
78be4c464f
vendor: github.com/cespare/xxhash/v2 v2.3.0
...
full diff: https://github.com/cespare/xxhash/compare/v2.2.0...v2.3.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 9599251d07
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-10-14 13:31:11 +02:00
Sebastiaan van Stijn
c93b0f1a0e
vendor: golang.org/x/net v0.29.0
...
no changes in vendored code
full diff: https://github.com/golang/net/compare/v0.28.0...v0.29.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit ea8aa2a419
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-10-14 13:31:11 +02:00
Sebastiaan van Stijn
949859a39e
vendor: golang.org/x/crypto v0.27.0
...
no changes in vendored code
full diff: https://github.com/golang/crypto/compare/v0.26.0...v0.27.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 61867feecf
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-10-14 13:31:10 +02:00
Sebastiaan van Stijn
ae9b655aa8
vendor: golang.org/x/term v0.24.0
...
full diff: https://github.com/golang/term/compare/v0.23.0...v0.24.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 843ae6d7e2
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-10-14 13:31:10 +02:00
Sebastiaan van Stijn
e93d817980
vendor: golang.org/x/text v0.18.0
...
no changes in vendored code
full diff: https://github.com/golang/text/compare/v0.17.0...v0.18.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit bea4ee6588
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-10-14 13:31:10 +02:00
Sebastiaan van Stijn
ed7d30ef89
vendor: golang.org/x/sys v0.25.0
...
full diff: https://github.com/golang/sys/compare/v0.24.0...v0.25.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit a88ee33f71
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-10-14 13:31:10 +02:00
Sebastiaan van Stijn
3a1e08d6de
vendor: github.com/docker/docker v27.3.1
...
no changes in code, as it's the same commit as v27.3.0
full diff: https://github.com/docker/docker/compare/v27.3.0...v27.3.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-10-12 22:02:17 +02:00
Sebastiaan van Stijn
854695884a
vendor: github.com/docker/docker v27.3.0
...
no diff, just re-tagged; https://github.com/docker/docker/compare/v27.3.0-rc.2...v27.3.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-20 12:13:41 +02:00
Laura Brehm
ca62759b0f
vendor: github.com/docker/docker v27.3.0-rc2
...
No vendor changes, just using tag.
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
2024-09-18 16:30:22 +01:00
Sebastiaan van Stijn
d896559894
vendor: github.com/docker/docker v27.3.0-rc.1
...
no diff, as it's the same commit, but tagged
full diff: https://github.com/docker/docker/compare/bf60e5cced83...v27.3.0-rc.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-16 14:28:09 +02:00
Sebastiaan van Stijn
74bebe2719
vendor: github.com/docker/docker bf60e5cced83 (v27.3.0-dev)
...
full diff: https://github.com/docker/docker/compare/v27.2.1...bf60e5cced830ee3034275c1792095fbfa40caf4
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-13 00:21:52 +02:00
Sebastiaan van Stijn
2fc18b9874
vendor: google.golang.org/grpc v1.62.0
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit dccb8bfa5d
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-12 23:59:44 +02:00
Sebastiaan van Stijn
1a199b63da
vendor: tags.cncf.io/container-device-interface v0.8.0
...
Breaking change: The .ToOCI() functions in the specs-go package have been
removed. This removes the dependency on the OCI runtime specification from
the CDI specification definition itself.
What's Changed
- Add workflow to mark prs and issues as stale
- Remove the ToOCI functions from the specs-go package
- docs: add a pointer to community meetings in our docs.
- Bump spec version to v0.8.0
- Update spec version in README
Full diff: https://github.com/cncf-tags/container-device-interface/compare/v0.7.2...v0.8.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 8cdf90cd93
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-12 23:56:14 +02:00
Sebastiaan van Stijn
968341cc7d
vendor: golang.org/x/net v0.28.0
...
full diff: https://github.com/golang/net/compare/v0.25.0...v0.28.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit a5f15bee7a
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-12 23:56:14 +02:00
Sebastiaan van Stijn
fbb0cfd86a
vendor: golang.org/x/crypto v0.26.0
...
full diff: https://github.com/golang/crypto/compare/v0.23.0...v0.26.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit b93fc39639
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-12 23:56:13 +02:00
Sebastiaan van Stijn
49e33a03df
vendor: golang.org/x/text v0.17.0
...
full diff: https://github.com/golang/text/compare/v0.15.0...v0.17.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 3a63df265f
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-12 23:56:13 +02:00
Sebastiaan van Stijn
295b75e5ff
vendor: golang.org/x/term v0.23.0
...
full diff: https://github.com/golang/term/compare/v0.20.0...v0.23.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit c6e5341934
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-12 23:56:13 +02:00
Sebastiaan van Stijn
090d1ff555
vendor: golang.org/x/time v0.6.0
...
full diff: https://github.com/golang/time/compare/v0.3.0...v0.6.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 5f9fe33b6b
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-12 23:56:13 +02:00
Sebastiaan van Stijn
5dde3d8570
vendor: golang.org/x/sync v0.8.0
...
full diff: https://github.com/golang/sync/compare/v0.7.0...v0.8.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 7074e5011f
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-12 23:56:13 +02:00
Sebastiaan van Stijn
d64740d347
vendor: golang.org/x/sys v0.24.0
...
full diff: https://github.com/golang/sys/compare/v0.22.0...v0.24.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 958fff82f1
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-12 23:56:12 +02:00
Sebastiaan van Stijn
f68936ef2e
vendor: dario.cat/mergo v1.0.1
...
- fix: overwriteWithEmptyValue is forced to true when merging an object
involving maps
- fix: WithoutDereference should respect non-nil struct pointers
full diff: https://github.com/darccio/mergo/compare/v1.0.0...v1.0.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit fb264ffc08
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-12 23:56:12 +02:00
Sebastiaan van Stijn
4607c883c5
vendor: github.com/moby/sys/sequential v0.6.0
...
full diff: https://github.com/moby/sys/compare/sequential/v0.5.0...sequential/v0.6.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit b34e8e4dff
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-12 23:53:02 +02:00
Sebastiaan van Stijn
7ff3daa446
vendor: github.com/moby/sys/symlink v0.3.0
...
full diff: https://github.com/moby/sys/compare/symlink/v0.2.0...symlink/v0.3.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit ea37ac9bac
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-12 23:52:59 +02:00
Sebastiaan van Stijn
1fe06dd0e7
vendor: github.com/moby/sys/signal v0.7.1
...
full diff: https://github.com/moby/sys/compare/signal/v0.7.0...signal/v0.7.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 435c658333
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-12 23:47:30 +02:00
Sebastiaan van Stijn
05fbfc6995
vendor: github.com/docker/docker v27.2.1
...
no diff: same commit, but tagged
full diff: https://github.com/docker/docker/compare/8b539b8df240...v27.2.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-12 22:16:13 +02:00
Paweł Gronowski
324cdbca40
vendor: github.com/docker/docker v27.2.1-dev (8b539b8df240)
...
full diff: https://github.com/docker/docker/compare/v27.2.0...8b539b8df240
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-09-06 13:48:24 +02:00
Sebastiaan van Stijn
41e61c45d9
[27.x] vendor: github.com/docker/docker v27.2.0
...
Use a tagged version instead of the commit. No diff as they are the same;
https://github.com/docker/docker/compare/3ab5c7d0036c...v27.2.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-05 14:45:28 +02:00
Paweł Gronowski
88a49df297
vendor: github.com/docker/docker 3ab5c7d0036c (v27.2.0-dev)
...
full diff: b27de4ef16...3ab5c7d003
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-08-27 16:02:26 +02:00
Paweł Gronowski
8e94ed15e6
vendor: github.com/docker/docker b27de4ef1634 (v27.2.0-dev)
...
full diff: 9942d656ba...b27de4ef16
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-08-26 14:02:54 +02:00
Paweł Gronowski
26536d1145
vendor: github.com/docker/docker v27.2.0-dev (9942d656bade)
...
full diff: f9522e5e96...9942d656ba
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-08-16 18:59:59 +02:00
Laura Brehm
0c29d6bac1
auth: add support for oauth device-code login
...
This commit adds support for the oauth [device-code](https://auth0.com/docs/get-started/authentication-and-authorization-flow/device-authorization-flow )
login flow when authenticating against the official registry.
This is achieved by adding `cli/internal/oauth`, which contains code to manage
interacting with the Docker OAuth tenant (`login.docker.com`), including launching
the device-code flow, refreshing access using the refresh-token, and logging out.
The `OAuthManager` introduced here is also made available through the `command.Cli`
interface method `OAuthManager()`.
In order to maintain compatibility with any clients manually accessing
the credentials through `~/.docker/config.json` or via credential
helpers, the added `OAuthManager` uses the retrieved access token to
automatically generate a PAT with Hub, and store that in the
credentials.
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
(cherry picked from commit fcfdd7b91f
)
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
2024-08-16 10:09:38 +01:00
Sebastiaan van Stijn
65dec14ac0
vendor: github.com/docker/docker f9522e5e96c3 (v27.1.2-dev)
...
Removes dependency on containerd, as the userns package was migrated
to the github.com/moby/sys/userns module.
- full diff: https://github.com/docker/docker/compare/v27.1.1...f9522e5e96c3
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-08-12 13:18:02 +02:00
Sebastiaan van Stijn
edd71d77c7
vendor: golang.org/x/sys v0.22.0
...
full diff: https://github.com/golang/sys/compare/v0.21.0...v0.22.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 501904d48f
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-08-08 13:57:57 +02:00
Sebastiaan van Stijn
a74040315e
vendor: github.com/docker/docker v27.1.1
...
no changes in vendored files
full diff: https://github.com/docker/docker/compare/v27.1.0...v27.1.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-24 00:23:56 +02:00
Sebastiaan van Stijn
b889b2562c
vendor: github.com/docker/docker v27.1.0
...
full diff:
- https://github.com/docker/docker/compare/v27.0.3....v27.1.0
- google.golang.org/genproto/googleapis/rpc 49dd2c1f3d...995d672761
- google.golang.org/genproto/googleapis/api: 49dd2c1f3d...83a465c022
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-23 13:37:57 +02:00
Sebastiaan van Stijn
b24c7417e4
vendor: github.com/containerd/containerd v1.7.20
...
no changes in vendored code
full diff: https://github.com/containerd/containerd/compare/v1.7.19...v1.7.20
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 401048b9cb
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-23 13:37:29 +02:00
Sebastiaan van Stijn
5ab44a4690
vendor: github.com/docker/cli-docs-tool v0.8.0
...
no changes in vendored code
full diff: https://github.com/docker/cli-docs-tool/compare/v0.7.0...v0.8.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit e3e9b99015
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-19 02:04:44 +02:00
Sebastiaan van Stijn
33e5c87957
vendor: google.golang.org/genproto/googleapis/api 49dd2c1f3d0b
...
No changes in vendored files. This one got out of sync with the other modules
from the same repository.
full diff: d307bd883b...49dd2c1f3d
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit a77ba7eda8
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-19 02:04:24 +02:00
Sebastiaan van Stijn
674f8d2979
vendor: github.com/prometheus/procfs v0.15.1
...
full diff: https://github.com/prometheus/procfs/compare/v0.12.0...v0.15.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit caa5d15e98
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-19 02:04:24 +02:00
Sebastiaan van Stijn
2794ebd599
vendor: github.com/containerd/containerd v1.7.19
...
no changes in vendored code
full diff: https://github.com/containerd/containerd/compare/v1.7.18...v1.7.19
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 0f712827f1
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-19 02:04:24 +02:00
Sebastiaan van Stijn
76863b46b7
vendor: golang.org/x/sync v0.7.0
...
no changes in vendored code
full diff: https://github.com/golang/sync/compare/v0.6.0...v0.7.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit b28a1cd029
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-19 02:04:23 +02:00
Sebastiaan van Stijn
e7bcae9053
vendor: golang.org/x/net v0.25.0
...
full diff: https://github.com/golang/net/compare/v0.24.0...v0.25.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit a0c4e56dea
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-19 02:03:51 +02:00
Sebastiaan van Stijn
3577a17ce1
vendor: golang.org/x/crypto v0.23.0
...
no changes in vendored code
full diff: https://github.com/golang/crypto/compare/v0.22.0...v0.23.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 723130d7fe
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-19 02:03:51 +02:00