build(deps): bump github.com/testcontainers/testcontainers-go/modules/opensearch
Bumps [github.com/testcontainers/testcontainers-go/modules/opensearch](https://github.com/testcontainers/testcontainers-go) from 0.38.0 to 0.39.0. - [Release notes](https://github.com/testcontainers/testcontainers-go/releases) - [Commits](https://github.com/testcontainers/testcontainers-go/compare/v0.38.0...v0.39.0) --- updated-dependencies: - dependency-name: github.com/testcontainers/testcontainers-go/modules/opensearch dependency-version: 0.39.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
committed by
Ralf Haferkamp
parent
76ac20e9e8
commit
ca2636b653
+9
@@ -2,6 +2,8 @@ package testcontainers
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/docker/docker/client"
|
||||
)
|
||||
|
||||
// ImageInfo represents summary information of an image
|
||||
@@ -10,9 +12,16 @@ type ImageInfo struct {
|
||||
Name string
|
||||
}
|
||||
|
||||
type saveImageOptions struct {
|
||||
dockerSaveOpts []client.ImageSaveOption
|
||||
}
|
||||
|
||||
type SaveImageOption func(*saveImageOptions) error
|
||||
|
||||
// ImageProvider allows manipulating images
|
||||
type ImageProvider interface {
|
||||
ListImages(context.Context) ([]ImageInfo, error)
|
||||
SaveImages(context.Context, string, ...string) error
|
||||
SaveImagesWithOpts(context.Context, string, []string, ...SaveImageOption) error
|
||||
PullImage(context.Context, string) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user