containerdutils

package
v0.0.0-...-5c7ffcf Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	K3sDefaultStateDir = "/run/k3s/containerd"
	K3sDefaultAddress  = "/run/k3s/containerd/containerd.sock"
)

K3s is a commonly used distribution of K8s and we have built-in support for it.

Variables

This section is empty.

Functions

func NewClientFromEnv

func NewClientFromEnv(addrs ...string) (*containerd.Client, containerd.Version, error)

NewClientFromEnv create a containerd client based on the agreed environment configuration information.

Types

This section is empty.

Jump to

Keyboard shortcuts

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