summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-10-21 22:20:40 +0200
committerGitHub <noreply@github.com>2019-10-21 22:20:40 +0200
commitefc54c3987f95fd94b5e0aa41dd307be49d1b31b (patch)
tree1820209fcc96b950caac0fc7a9a45c0b75a10823 /API.md
parentd2591a54335424263374a919d485712e5b8aa093 (diff)
parent03da8b641df1c03aea6f9faa3ddc2b0df64ec68b (diff)
downloadpodman-efc54c3987f95fd94b5e0aa41dd307be49d1b31b.tar.gz
podman-efc54c3987f95fd94b5e0aa41dd307be49d1b31b.tar.bz2
podman-efc54c3987f95fd94b5e0aa41dd307be49d1b31b.zip
Merge pull request #4284 from mheon/fix_vol_inspect
Show volume options in 'volume inspect'
Diffstat (limited to 'API.md')
-rwxr-xr-xAPI.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/API.md b/API.md
index a2a093bec..1cbdacb12 100755
--- a/API.md
+++ b/API.md
@@ -107,6 +107,8 @@ in the [API.md](https://github.com/containers/libpod/blob/master/API.md) file in
[func InspectPod(name: string) string](#InspectPod)
+[func InspectVolume(name: string) string](#InspectVolume)
+
[func KillContainer(name: string, signal: int) string](#KillContainer)
[func KillPod(name: string, signal: int) string](#KillPod)
@@ -804,6 +806,12 @@ method InspectPod(name: [string](https://godoc.org/builtin#string)) [string](htt
InspectPod takes the name or ID of an image and returns a string representation of data associated with the
pod. You must serialize the string into JSON to use it further. A [PodNotFound](#PodNotFound) error will
be returned if the pod cannot be found.
+### <a name="InspectVolume"></a>func InspectVolume
+<div style="background-color: #E8E8E8; padding: 15px; margin: 10px; border-radius: 10px;">
+
+method InspectVolume(name: [string](https://godoc.org/builtin#string)) [string](https://godoc.org/builtin#string)</div>
+InspectVolume inspects a single volume. Returns inspect JSON in the form of a
+string.
### <a name="KillContainer"></a>func KillContainer
<div style="background-color: #E8E8E8; padding: 15px; margin: 10px; border-radius: 10px;">