mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-17 02:50:12 -06:00
19 lines
379 B
Go
19 lines
379 B
Go
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
|
|
}
|