mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-19 12:27:35 +00:00
* Add support for rm and rmi commands * Support for registry.ExitCode * Support for N-errors from domain layer * Add log-level support * Add syslog support Signed-off-by: Jhon Honce <jhonce@redhat.com>
13 lines
496 B
Go
13 lines
496 B
Go
package entities
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type ImageEngine interface {
|
|
Delete(ctx context.Context, nameOrId []string, opts ImageDeleteOptions) (*ImageDeleteReport, error)
|
|
Exists(ctx context.Context, nameOrId string) (*BoolReport, error)
|
|
History(ctx context.Context, nameOrId string, opts ImageHistoryOptions) (*ImageHistoryReport, error)
|
|
List(ctx context.Context, opts ImageListOptions) ([]*ImageSummary, error)
|
|
Prune(ctx context.Context, opts ImagePruneOptions) (*ImagePruneReport, error)
|
|
}
|