systemdgen

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSystemdUnitAsString

func CreateSystemdUnitAsString(name, cid, restart, pidPath string, stopTimeout int) (string, error)

CreateSystemdUnitAsString takes variables to create a systemd unit file used to control a libpod container

func ValidateRestartPolicy

func ValidateRestartPolicy(restart string) error

ValidateRestartPolicy checks that the user-provided policy is valid

Types

This section is empty.

Jump to

Keyboard shortcuts

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