summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-03-23 21:22:41 +0100
committerGitHub <noreply@github.com>2020-03-23 21:22:41 +0100
commit02de8d576b531430f90ef2ab7a290c7fb59e9f3c (patch)
tree9d9d8a2c06f2791e83e77673435253a1a21a42e6 /cmd
parent3e835a8025bfc4a7a2790f1d343c6ea246fc65ee (diff)
parent9ac58fd78e4f04f3807f18020124882ad68e3ffb (diff)
downloadpodman-02de8d576b531430f90ef2ab7a290c7fb59e9f3c.tar.gz
podman-02de8d576b531430f90ef2ab7a290c7fb59e9f3c.tar.bz2
podman-02de8d576b531430f90ef2ab7a290c7fb59e9f3c.zip
Merge pull request #5560 from QiWang19/remote_ceds
Use creds form PullImage remote
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/varlink/io.podman.varlink7
1 files changed, 6 insertions, 1 deletions
diff --git a/cmd/podman/varlink/io.podman.varlink b/cmd/podman/varlink/io.podman.varlink
index e9792fa8f..0ef350fc2 100644
--- a/cmd/podman/varlink/io.podman.varlink
+++ b/cmd/podman/varlink/io.podman.varlink
@@ -105,6 +105,11 @@ type ImageSearchFilter (
star_count: int
)
+type AuthConfig (
+ username: string,
+ password: string
+)
+
type KubePodService (
pod: string,
service: string
@@ -932,7 +937,7 @@ method ExportImage(name: string, destination: string, compress: bool, tags: []st
# PullImage pulls an image from a repository to local storage. After a successful pull, the image id and logs
# are returned as a [MoreResponse](#MoreResponse). This connection also will handle a WantsMores request to send
# status as it occurs.
-method PullImage(name: string) -> (reply: MoreResponse)
+method PullImage(name: string, creds: AuthConfig) -> (reply: MoreResponse)
# CreatePod creates a new empty pod. It uses a [PodCreate](#PodCreate) type for input.
# On success, the ID of the newly created pod will be returned.