Documentation
¶
Overview ¶
Package engine provides functionality for creating a Docker client.
Package engine provides functionality for detecting and interacting with container engines (Docker/Podman).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnginePath ¶
func GetEnginePath() string
GetEnginePath returns the absolute path to the detected engine binary.
Types ¶
type EngineType ¶
type EngineType string
EngineType represents the type of container engine detected.
const ( // Docker represents the Docker container engine. Docker EngineType = "docker" // Podman represents the Podman container engine. Podman EngineType = "podman" // Unknown represents an unknown or undetected container engine. Unknown EngineType = "unknown" )
Click to show internal directories.
Click to hide internal directories.