Documentation
¶
Index ¶
- func ContainerExists(name string) (bool, error)
- func ContainerRunning(name string) (bool, error)
- func DaemonReload() error
- func EnsureNetwork(name string) error
- func GetQuadletTemplate(name string) (string, error)
- func RemoveQuadlet(name string) error
- func RestartUnit(name string) error
- func Run(args ...string) (string, error)
- func RunSilent(args ...string) error
- func StartUnit(name string) error
- func StopUnit(name string) error
- func UnitStatus(name string) (string, error)
- func WriteQuadlet(name, content string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerExists ¶
ContainerExists returns true if the named container exists (running or not).
func ContainerRunning ¶
ContainerRunning returns true if the named container is running.
func EnsureNetwork ¶
EnsureNetwork creates the named Podman network if it does not already exist.
func GetQuadletTemplate ¶
GetQuadletTemplate returns the content of a named quadlet template file.
func RemoveQuadlet ¶
RemoveQuadlet removes a Podman quadlet container unit file.
func UnitStatus ¶
UnitStatus returns the active state of a systemd user unit.
func WriteQuadlet ¶
WriteQuadlet writes a Podman quadlet container unit file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.