MCPcopy
hub / github.com/vmware-tanzu/sonobuoy / Client

Interface Client

pkg/image/image.go:20–27  ·  view source on GitHub ↗

Client is the interface for interacting with images.

Source from the content-addressed store, hash-verified

18
19// Client is the interface for interacting with images.
20type Client interface {
21 PullImages(images []string, retries int) []error
22 PushImages(images []TagPair, retries int) []error
23 DownloadImages(images []string, version string) (string, error)
24 DeleteImages(images []string, retries int) []error
25 RunImage(image string, entrypoint string, env map[string]string, args ...string) ([]string, error)
26 InspectImages(images []string) []error
27}

Callers 7

pullImagesFunction · 0.65
collectPluginsImagesFunction · 0.65
pushImagesFunction · 0.65
downloadImagesFunction · 0.65
deleteImagesFunction · 0.65
collectPluginsImagesFunction · 0.65
inspectImagesFunction · 0.65

Implementers 2

DockerClientpkg/image/docker_client.go
DryRunClientpkg/image/dryrun_client.go

Calls

no outgoing calls

Tested by

no test coverage detected