generate

package
Version: v3.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainerUnit

func ContainerUnit(ctr *libpod.Container, options entities.GenerateSystemdOptions) (string, 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) (map[string]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
t or T : Toggle theme light dark auto
y or Y : Canonical URL