summaryrefslogtreecommitdiff
path: root/vendor/github.com/testcontainers/testcontainers-go/image.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/testcontainers/testcontainers-go/image.go')
-rw-r--r--vendor/github.com/testcontainers/testcontainers-go/image.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/github.com/testcontainers/testcontainers-go/image.go b/vendor/github.com/testcontainers/testcontainers-go/image.go
new file mode 100644
index 0000000..4816fb7
--- /dev/null
+++ b/vendor/github.com/testcontainers/testcontainers-go/image.go
@@ -0,0 +1,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
+}