system

package
v1.7.7 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 31 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 added in v1.2.1

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 EventFilter added in v1.7.7

type EventFilter func(*EventOut) bool

EventFilter for filtering events

type EventOut

type EventOut struct {
	Timestamp time.Time
	ID        string
	Namespace string
	Topic     string
	Status    Status
	Event     string
}

EventOut contains information about an event.

type Status added in v1.7.7

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

func TopicToStatus added in v1.7.7

func TopicToStatus(topic string) Status

Jump to

Keyboard shortcuts

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