cri

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RuntimeV1       runtimeVersion = "v1"
	RuntimeV1Alpha2 runtimeVersion = "v1alpha2"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector interface {
	ListImages(context.Context) ([]*v1.Image, error)
	ListContainers(context.Context) ([]*v1.Container, error)
}

func NewCollectorClient

func NewCollectorClient(socketPath string) (Collector, error)

type Remover

type Remover interface {
	Collector
	DeleteImage(context.Context, string) error
}

func NewRemoverClient

func NewRemoverClient(socketPath string) (Remover, error)

Jump to

Keyboard shortcuts

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