summaryrefslogtreecommitdiff
path: root/cmd/podman/cliconfig
diff options
context:
space:
mode:
authorQi Wang <qiwan@redhat.com>2019-02-12 09:53:38 -0500
committerQi Wang <qiwan@redhat.com>2019-02-14 10:09:25 -0500
commita8b149b406e9565067c1f281e86071942123163e (patch)
treeb90126b851ac1a1d240af386cc0e5ee3b041d64e /cmd/podman/cliconfig
parent112a5ab20cd6a07bcfcccadd0c0b851927a16f05 (diff)
downloadpodman-a8b149b406e9565067c1f281e86071942123163e.tar.gz
podman-a8b149b406e9565067c1f281e86071942123163e.tar.bz2
podman-a8b149b406e9565067c1f281e86071942123163e.zip
--password-stdin flag in `podman login`
Support --password-stdin flag, reads a password from STDIN and pass it to `podman login`. Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'cmd/podman/cliconfig')
-rw-r--r--cmd/podman/cliconfig/config.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd/podman/cliconfig/config.go b/cmd/podman/cliconfig/config.go
index b925d29ff..3d0413109 100644
--- a/cmd/podman/cliconfig/config.go
+++ b/cmd/podman/cliconfig/config.go
@@ -172,12 +172,13 @@ type LoadValues struct {
type LoginValues struct {
PodmanCommand
- Password string
- Username string
- Authfile string
- CertDir string
- GetLogin bool
- TlsVerify bool
+ Password string
+ StdinPassword bool
+ Username string
+ Authfile string
+ CertDir string
+ GetLogin bool
+ TlsVerify bool
}
type LogoutValues struct {