diff options
author | troyready <troy@troyready.com> | 2021-03-02 18:12:29 -0800 |
---|---|---|
committer | troyready <troy@troyready.com> | 2021-03-12 10:39:15 -0800 |
commit | 9251b6c8cfaa5db738212c467c79f8c3aceb5b7d (patch) | |
tree | df80a61cdff011b14c987736833dbae96720ab44 /pkg/domain/entities/system.go | |
parent | fc02d16e728dfdd5a5f2e3bc622bbceb7f8c0d24 (diff) | |
download | podman-9251b6c8cfaa5db738212c467c79f8c3aceb5b7d.tar.gz podman-9251b6c8cfaa5db738212c467c79f8c3aceb5b7d.tar.bz2 podman-9251b6c8cfaa5db738212c467c79f8c3aceb5b7d.zip |
add /auth for docker compatibility
This endpoint just validates credentials:
https://github.com/moby/moby/blob/v20.10.4/api/swagger.yaml#L7936-L7977
Fixes: #9564
Signed-off-by: troyready <troy@troyready.com>
Diffstat (limited to 'pkg/domain/entities/system.go')
-rw-r--r-- | pkg/domain/entities/system.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkg/domain/entities/system.go b/pkg/domain/entities/system.go index a1cfb4481..4b8383613 100644 --- a/pkg/domain/entities/system.go +++ b/pkg/domain/entities/system.go @@ -107,3 +107,14 @@ type ComponentVersion struct { type ListRegistriesReport struct { Registries []string } + +// swagger:model AuthConfig +type AuthConfig struct { + types.AuthConfig +} + +// AuthReport describes the response for authentication check +type AuthReport struct { + IdentityToken string + Status string +} |