containerd

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package containerd implements containers.Inspector via containerd API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInspector

func NewInspector(ctx context.Context, namespace string, options ...Option) (ctrs.Inspector, error)

NewInspector builds new Inspector instance in specified namespace.

Types

type Option

type Option func(*inspectorOptions)

Option configures containerd Inspector.

func WithContainerdAddress

func WithContainerdAddress(address string) Option

WithContainerdAddress configures containerd address to use.

Jump to

Keyboard shortcuts

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