generate

package
v2.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const EnvVariable = "PODMAN_SYSTEMD_UNIT"

EnvVariable "PODMAN_SYSTEMD_UNIT" is set in all generated systemd units and is set to the unit's (unique) name.

Variables

This section is empty.

Functions

func ContainerUnit

func ContainerUnit(ctr *libpod.Container, options entities.GenerateSystemdOptions) (string, error)

ContainerUnit generates a systemd unit for the specified container. Based on the options, the return value might be the entire unit or a file it has been written to.

func PodUnits

func PodUnits(pod *libpod.Pod, options entities.GenerateSystemdOptions) (string, error)

PodUnits generates systemd units for the specified pod and its containers. Based on the options, the return value might be the content of all units or the files they been written to.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL