summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2019-08-21 09:24:20 +0200
committerValentin Rothberg <rothberg@redhat.com>2019-08-21 09:41:07 +0200
commita33e4a89ca4f689096f417ebddfe5b992470e54d (patch)
tree7c48e9644432b199d0ece18d786c513b0c458bf5 /API.md
parent1ad8fe52412c8cef215e5a5af312e5db680c3916 (diff)
downloadpodman-a33e4a89ca4f689096f417ebddfe5b992470e54d.tar.gz
podman-a33e4a89ca4f689096f417ebddfe5b992470e54d.tar.bz2
podman-a33e4a89ca4f689096f417ebddfe5b992470e54d.zip
generate systemd: drop support for remote clients
Drop the support for remote clients to generate systemd-service files. The generated files are machine-dependent and hence relate only to the a local machine. Furthermore, a proper service management when using a remote-client is not possible as systemd has no access to a process. Dropping the support will also reduce the risk of making users believe that the generated services are usable in a remote scenario. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'API.md')
-rwxr-xr-xAPI.md7
1 files changed, 0 insertions, 7 deletions
diff --git a/API.md b/API.md
index c3a6ea4c8..b1f57c53a 100755
--- a/API.md
+++ b/API.md
@@ -49,8 +49,6 @@ in the [API.md](https://github.com/containers/libpod/blob/master/API.md) file in
[func GenerateKube(name: string, service: bool) KubePodService](#GenerateKube)
-[func GenerateSystemd(name: string, restart: string, timeout: int, useName: bool) string](#GenerateSystemd)
-
[func GetAttachSockets(name: string) Sockets](#GetAttachSockets)
[func GetContainer(id: string) Container](#GetContainer)
@@ -482,11 +480,6 @@ error will be returned. See also [ImportImage](ImportImage).
method GenerateKube(name: [string](https://godoc.org/builtin#string), service: [bool](https://godoc.org/builtin#bool)) [KubePodService](#KubePodService)</div>
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).
-### <a name="GenerateSystemd"></a>func GenerateSystemd
-<div style="background-color: #E8E8E8; padding: 15px; margin: 10px; border-radius: 10px;">
-
-method GenerateSystemd(name: [string](https://godoc.org/builtin#string), restart: [string](https://godoc.org/builtin#string), timeout: [int](https://godoc.org/builtin#int), useName: [bool](https://godoc.org/builtin#bool)) [string](https://godoc.org/builtin#string)</div>
-
### <a name="GetAttachSockets"></a>func GetAttachSockets
<div style="background-color: #E8E8E8; padding: 15px; margin: 10px; border-radius: 10px;">