cache

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCacheCommand

func NewCacheCommand(
	newDockerClient DockerClientFunc,
	providers *provider.Registry,
) *cobra.Command

func NewListCommand

func NewListCommand(newDockerClient DockerClientFunc, providers *provider.Registry) *cobra.Command

func NewPruneCommand

func NewPruneCommand(
	newDockerClient DockerClientFunc,
	providers *provider.Registry,
) *cobra.Command

Types

type DockerClient

type DockerClient interface {
	Close() error
	ListPreparedImages(context.Context) ([]docker.PreparedImage, error)
	RemovePreparedImage(context.Context, docker.PreparedImage) error
}

type DockerClientFunc

type DockerClientFunc func() (DockerClient, error)

Jump to

Keyboard shortcuts

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