spiegel_podman/pkg/domain/entities/engine_image.go
Jhon Honce fbe743501e V2 podman command
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-03-18 16:41:12 -07:00

12 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)
}