Skip to content

Commit

Permalink
Add ServerVersion to docker client interface which is needed by imgutil
Browse files Browse the repository at this point in the history
Signed-off-by: Jerico Pena <[email protected]>
  • Loading branch information
jericop committed Nov 2, 2023
1 parent cf17f4c commit 3d227c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/client/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ type DockerClient interface {
ImageRemove(ctx context.Context, image string, options types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
ImagePull(ctx context.Context, ref string, options types.ImagePullOptions) (io.ReadCloser, error)
Info(ctx context.Context) (types.Info, error)
ServerVersion(ctx context.Context) (types.Version, error)
VolumeRemove(ctx context.Context, volumeID string, force bool) error
ContainerCreate(ctx context.Context, config *containertypes.Config, hostConfig *containertypes.HostConfig, networkingConfig *networktypes.NetworkingConfig, platform *specs.Platform, containerName string) (containertypes.CreateResponse, error)
CopyFromContainer(ctx context.Context, container, srcPath string) (io.ReadCloser, types.ContainerPathStat, error)
Expand Down

0 comments on commit 3d227c4

Please sign in to comment.