Documentation ¶
Index ¶
Constants ¶
View Source
const ( UnixProtocol = "unix" Timeout = 8 * time.Second CONTAINERD_K8S_NS = "k8s.io" CONTAINERD = "containerd" DOCKER = "docker" CRIO = "crio" PODMAN = "podman" CONTAINERD_SOCKET_ADDRESS = "/run/containerd/containerd.sock" K3S_CONTAINERD_SOCKET_ADDRESS = "/run/k3s/containerd/containerd.sock" DOCKER_SOCKET_ADDRESS = "/var/run/docker.sock" CRIO_SOCKET_ADDRESS = "/var/run/crio/crio.sock" PODMAN_SOCKET_ADDRESS = "/run/podman/podman.sock" CONTAINERD_SOCKET_URI = "unix://" + CONTAINERD_SOCKET_ADDRESS DOCKER_SOCKET_URI = "unix://" + DOCKER_SOCKET_ADDRESS K3S_CONTAINERD_SOCKET_URI = "unix://" + K3S_CONTAINERD_SOCKET_ADDRESS CRIO_SOCKET_URI = "unix://" + CRIO_SOCKET_ADDRESS PODMAN_SOCKET_URI = "unix://" + PODMAN_SOCKET_ADDRESS )
Variables ¶
View Source
var SupportedRuntimes = map[string][]string{ DOCKER: {DOCKER_SOCKET_URI}, CONTAINERD: {CONTAINERD_SOCKET_URI, K3S_CONTAINERD_SOCKET_URI}, CRIO: {CRIO_SOCKET_URI}, PODMAN: {PODMAN_SOCKET_URI}, }
Functions ¶
func CheckTarFileValid ¶
func CheckTarGzFileValid ¶ added in v0.12.4
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.