Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecInContainer ¶
func ExecInContainer(ctx context.Context, log *logger.Logger, host, containerName string, cmd []string) ([]byte, error)
ExecInContainer runs a command inside a container and returns its stdout.
func ParseCrictlImages ¶
ParseCrictlImages extracts image tags from `crictl images -o json` output.
func ResolveSocket ¶
ResolveSocket returns the container runtime socket URI by checking DOCKER_HOST, then probing well-known paths for Docker, Podman. Returns "" if none found.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.