Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions internal/boundaries/out/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ type ContainerRuntime interface {

// Volume management
InspectImageVolumes(ctx context.Context, imageRef string) ([]string, error)
// VolumeExists reports whether the named volume exists. Callers use it to
// decide whether preserved data is gone, so an adapter must return false only
// when the volume is definitively absent, and an error when the check itself
// failed.
VolumeExists(ctx context.Context, volumeName string) (bool, error)
CreateVolume(ctx context.Context, volumeName string) error
RemoveVolume(ctx context.Context, volumeName string, force bool) error
Expand Down
Loading
Loading