feat(images): implement RemoveImage gRPC API with extra protection for used images

This commit is contained in:
Pasha Sviderski
2026-10-28 20:24:16 +10:00
parent a2987d3ff2
commit 7c6d1be8a7
19 changed files with 9623 additions and 377 deletions
+2
View File
@@ -42,6 +42,8 @@ type DNSClient interface {
type ImageClient interface {
InspectImage(ctx context.Context, id string) ([]MachineImage, error)
InspectRemoteImage(ctx context.Context, id string) ([]MachineRemoteImage, error)
ListImages(ctx context.Context, filter ImageFilter) ([]MachineImages, error)
RemoveImage(ctx context.Context, image string, opts RemoveImageOptions) ([]MachineImageRemoval, error)
}
type LogsClient interface {