containerdaemonrepository

package
v0.0.0-...-25be970 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package containerdaemonrepository provides access to container daemons

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerDaemon

type ContainerDaemon interface {
	// GetDigest returns the digest for an image
	GetDigest(ctx context.Context, ref string) (string, error)
	// ListContainerImages lists image available from container daemon
	ListContainerImages(ctx context.Context) ([]Image, error)
}

ContainerDaemon is the interface to access a container daemon.

func NewContainerd

func NewContainerd(address, namespace string) (ContainerDaemon, error)

NewContainerd is a Containerd base implementation of ContainerDaemon.

type Image

type Image struct {
	Image  string
	Digest string
}

Image represents a container image.

Jump to

Keyboard shortcuts

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