system

package
v2.4.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2026 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Info

func Info(ctx context.Context, client *containerd.Client, options types.SystemInfoOptions) error

func Prune

func Prune(ctx context.Context, client *containerd.Client, options types.SystemPruneOptions) error

Prune will remove all unused containers, networks, images (dangling only or both dangling and unreferenced), and optionally, volumes.

Types

type Action

type Action string
const (
	START   Action = "start"
	UNKNOWN Action = "unknown"
)

func TopicToAction

func TopicToAction(topic string) Action

type EventFilter

type EventFilter func(*EventOut) bool

EventFilter for filtering events

type EventOut

type EventOut struct {
	Timestamp time.Time
	ID        string
	Namespace string
	Topic     string
	Action    Action
	Event     string
	Labels    map[string]string
}

EventOut contains information about an event.

Jump to

Keyboard shortcuts

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