summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/engine_image.go
blob: 27676d781e252f3e5ceddc547c1b96d355e28cf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package entities

import (
	"context"
)

type ImageEngine interface {
	Delete(ctx context.Context, nameOrId string, opts ImageDeleteOptions) (*ImageDeleteReport, error)
	History(ctx context.Context, nameOrId string, opts ImageHistoryOptions) (*ImageHistoryReport, error)
	List(ctx context.Context, opts ImageListOptions) (*ImageListReport, error)
	Prune(ctx context.Context, opts ImagePruneOptions) (*ImagePruneReport, error)
}