summaryrefslogtreecommitdiff
path: root/cmd/podman/varlink
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-04-12 11:03:20 -0700
committerGitHub <noreply@github.com>2019-04-12 11:03:20 -0700
commit89ffcf9df9d83bc8e0ea7c8004591fb0825117cf (patch)
treee6e12ffa729da39447fd673bd2141ede12a26fb3 /cmd/podman/varlink
parent61fa40b25679f864db5b5b375d512a9f1264e31f (diff)
parent80b2c097fe333fd43634753b574d4b5bdf155b82 (diff)
downloadpodman-89ffcf9df9d83bc8e0ea7c8004591fb0825117cf.tar.gz
podman-89ffcf9df9d83bc8e0ea7c8004591fb0825117cf.tar.bz2
podman-89ffcf9df9d83bc8e0ea7c8004591fb0825117cf.zip
Merge pull request #2903 from baude/remotegenkube
podman-remote generate kube
Diffstat (limited to 'cmd/podman/varlink')
-rw-r--r--cmd/podman/varlink/io.podman.varlink11
1 files changed, 6 insertions, 5 deletions
diff --git a/cmd/podman/varlink/io.podman.varlink b/cmd/podman/varlink/io.podman.varlink
index c6997cd3f..b5295273a 100644
--- a/cmd/podman/varlink/io.podman.varlink
+++ b/cmd/podman/varlink/io.podman.varlink
@@ -98,6 +98,11 @@ type ImageSearchFilter (
star_count: int
)
+type KubePodService (
+ pod: string,
+ service: string
+)
+
type Container (
id: string,
image: string,
@@ -1124,11 +1129,7 @@ method ImagesPrune(all: bool) -> (pruned: []string)
# GenerateKube generates a Kubernetes v1 Pod description of a Podman container or pod
# and its containers. The description is in YAML. See also [ReplayKube](ReplayKube).
-# method GenerateKube() -> (notimplemented: NotImplemented)
-
-# GenerateKubeService generates a Kubernetes v1 Service description of a Podman container or pod
-# and its containers. The description is in YAML. See also [GenerateKube](GenerateKube).
-# method GenerateKubeService() -> (notimplemented: NotImplemented)
+method GenerateKube(name: string, service: bool) -> (pod: KubePodService)
# ReplayKube recreates a pod and its containers based on a Kubernetes v1 Pod description (in YAML)
# like that created by GenerateKube. See also [GenerateKube](GenerateKube).