13 lines
428 B
Go
13 lines
428 B
Go
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)
|
|
}
|