diff options
Diffstat (limited to 'cmd/podman/varlink')
-rw-r--r-- | cmd/podman/varlink/generate.go | 4 | ||||
-rw-r--r-- | cmd/podman/varlink/io.podman.varlink (renamed from cmd/podman/varlink/io.projectatomic.podman.varlink) | 20 |
2 files changed, 12 insertions, 12 deletions
diff --git a/cmd/podman/varlink/generate.go b/cmd/podman/varlink/generate.go index b07f8b06b..2fa2d8e23 100644 --- a/cmd/podman/varlink/generate.go +++ b/cmd/podman/varlink/generate.go @@ -1,3 +1,3 @@ -package ioprojectatomicpodman +package iopodman -//go:generate go run ../../../vendor/github.com/varlink/go/cmd/varlink-go-interface-generator/main.go io.projectatomic.podman.varlink +//go:generate go run ../../../vendor/github.com/varlink/go/cmd/varlink-go-interface-generator/main.go io.podman.varlink diff --git a/cmd/podman/varlink/io.projectatomic.podman.varlink b/cmd/podman/varlink/io.podman.varlink index fdc941e1a..da6739d69 100644 --- a/cmd/podman/varlink/io.projectatomic.podman.varlink +++ b/cmd/podman/varlink/io.podman.varlink @@ -1,6 +1,6 @@ # Podman Service Interface and API description. The master version of this document can be found # in the [API.md](https://github.com/projectatomic/libpod/blob/master/API.md) file in the upstream libpod repository. -interface io.projectatomic.podman +interface io.podman # Version is the structure returned by GetVersion @@ -329,7 +329,7 @@ type BuildResponse ( # Ping provides a response for developers to ensure their varlink setup is working. # #### Example # ~~~ -# $ varlink call -m unix:/run/podman/io.projectatomic.podman/io.projectatomic.podman.Ping +# $ varlink call -m unix:/run/podman/io.podman/io.podman.Ping # { # "ping": { # "message": "OK" @@ -360,7 +360,7 @@ method GetContainer(name: string) -> (container: ListContainerData) # error will be returned. Otherwise, the ID of the newly created container will be returned. # #### Example # ~~~ -# $ varlink call unix:/run/podman/io.projectatomic.podman/io.projectatomic.podman.CreateContainer '{"create": {"image": "alpine"}}' +# $ varlink call unix:/run/podman/io.podman/io.podman.CreateContainer '{"create": {"image": "alpine"}}' # { # "container": "8759dafbc0a4dc3bcfb57eeb72e4331eb73c5cc09ab968e65ce45b9ad5c4b6bb" # } @@ -378,7 +378,7 @@ method InspectContainer(name: string) -> (container: string) # error will be returned. # #### Example # ~~~ -# $ varlink call -m unix:/run/podman/io.projectatomic.podman/io.projectatomic.podman.ListContainerProcesses '{"name": "135d71b9495f", "opts": []}' +# $ varlink call -m unix:/run/podman/io.podman/io.podman.ListContainerProcesses '{"name": "135d71b9495f", "opts": []}' # { # "container": [ # " UID PID PPID C STIME TTY TIME CMD", @@ -412,7 +412,7 @@ method ExportContainer(name: string, path: string) -> (tarfile: string) # [ContainerNotFound](#ContainerNotFound) error will be returned. # #### Example # ~~~ -# $ varlink call -m unix:/run/podman/io.projectatomic.podman/io.projectatomic.podman.GetContainerStats '{"name": "c33e4164f384"}' +# $ varlink call -m unix:/run/podman/io.podman/io.podman.GetContainerStats '{"name": "c33e4164f384"}' # { # "container": { # "block_input": 0, @@ -447,7 +447,7 @@ method StartContainer(name: string) -> (container: string) # error will be returned instead. See also [KillContainer](KillContainer). # #### Error # ~~~ -# $ varlink call -m unix:/run/podman/io.projectatomic.podman/io.projectatomic.podman.StopContainer '{"name": "135d71b9495f", "timeout": 5}' +# $ varlink call -m unix:/run/podman/io.podman/io.podman.StopContainer '{"name": "135d71b9495f", "timeout": 5}' # { # "container": "135d71b9495f7c3967f536edad57750bfdb569336cd107d8aabab45565ffcfb6" # } @@ -490,7 +490,7 @@ method AttachToContainer() -> (notimplemented: NotImplemented) # found, a [ContainerNotFound](#ContainerNotFound) error will be returned. # #### Example # ~~~ -# $ varlink call -m unix:/run/io.projectatomic.podman/io.projectatomic.podman.GetAttachSockets '{"name": "b7624e775431219161"}' +# $ varlink call -m unix:/run/io.podman/io.podman.GetAttachSockets '{"name": "b7624e775431219161"}' # { # "sockets": { # "container_id": "b7624e7754312191613245ce1a46844abee60025818fe3c3f3203435623a1eca", @@ -511,7 +511,7 @@ method WaitContainer(name: string) -> (exitcode: int) # container cannot be found by name or ID, a [ContainerNotFound](#ContainerNotFound) error will be returned. # #### Example # ~~~ -# $ varlink call -m unix:/run/podman/io.projectatomic.podman/io.projectatomic.podman.RemoveContainer '{"name": "62f4fd98cb57"}' +# $ varlink call -m unix:/run/podman/io.podman/io.podman.RemoveContainer '{"name": "62f4fd98cb57"}' # { # "container": "62f4fd98cb57f529831e8f90610e54bba74bd6f02920ffb485e15376ed365c20" # } @@ -562,7 +562,7 @@ method TagImage(name: string, tagged: string) -> (image: string) # ID of the removed image is returned when complete. See also [DeleteUnusedImages](DeleteUnusedImages). # #### Example # ~~~ -# varlink call -m unix:/run/podman/io.projectatomic.podman/io.projectatomic.podman.RemoveImage '{"name": "registry.fedoraproject.org/fedora", "force": true}' +# varlink call -m unix:/run/podman/io.podman/io.podman.RemoveImage '{"name": "registry.fedoraproject.org/fedora", "force": true}' # { # "image": "426866d6fa419873f97e5cbd320eeb22778244c1dfffa01c944db3114f55772e" # } @@ -602,7 +602,7 @@ method ExportImage(name: string, destination: string, compress: bool, tags: []st # is returned. # #### Example # ~~~ -# $ varlink call -m unix:/run/podman/io.projectatomic.podman/io.projectatomic.podman.PullImage '{"name": "registry.fedoraproject.org/fedora"}' +# $ varlink call -m unix:/run/podman/io.podman/io.podman.PullImage '{"name": "registry.fedoraproject.org/fedora"}' # { # "id": "426866d6fa419873f97e5cbd320eeb22778244c1dfffa01c944db3114f55772e" # } |