generate

package
v4.6.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 16 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
y or Y : Canonical URL