caddy-log-exporter/vendor/github.com/testcontainers/testcontainers-go/image.go

19 lines
381 B
Go

package testcontainers
import (
"context"
)
// ImageInfo represents a 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
}