MCPcopy Create free account
hub / github.com/arminc/clair-scanner / DockerClient

Interface DockerClient

docker.go:17–19  ·  view source on GitHub ↗

DockerClient defines the methods used from the Docker API

Source from the content-addressed store, hash-verified

15
16// DockerClient defines the methods used from the Docker API
17type DockerClient interface {
18 ImageSave(ctx context.Context, imageIDs []string) (io.ReadCloser, error)
19}
20
21// RealDockerClient implements DockerClient using the Docker API
22type RealDockerClient struct {

Callers 2

ImageSaveMethod · 0.65
saveDockerImageFunction · 0.65

Implementers 2

Calls

no outgoing calls

Tested by

no test coverage detected