Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(socketPath string) (*containerd.Client, error)
NewClient returns a new containerd client that communicates over the unix socket at the given path.
Interesting note: there is no remote client for containerd. The debate is around security.
func WithNamespace ¶
WithNamespace returns a new context with the given namespace. Context is used by containerd to pass around optional information.
The namespace is used to isolate resources.
You can use "well-known" namespaces like "docker" or "k8s.io" expose containers to other tools.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.