summaryrefslogtreecommitdiff
path: root/vendor/github.com/testcontainers/testcontainers-go/image.go
blob: 4816fb78948c4873240a9d9dbe15a30b03579a2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package testcontainers

import (
	"context"
)

// ImageInfo represents summary information of an image
type ImageInfo struct {
	ID   string
	Name string
}

// ImageProvider allows manipulating images
type ImageProvider interface {
	ListImages(context.Context) ([]ImageInfo, error)
	SaveImages(context.Context, string, ...string) error
	PullImage(context.Context, string) error
}