b1f8ac453b
feat!: base template * first bit of templating * codeowners * linuxbased * restart * baseline project * add grpc api and basic integration test * startqueue * queueMsg * splitscripts * migrations * queueintegrationtest * gateway
19 lines
381 B
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
|
|
}
|