mirror of
https://github.com/containers/podman.git
synced 2025-12-02 02:58:03 +08:00
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> Vendors in fsouza/docker-client, docker/docker and a few more related. Of particular note, changes to the TweakCapabilities() function from docker/docker along with the parse.IDMappingOptions() function from Buildah. Please pay particular attention to the related changes in the call from libpod to those functions during the review. Passes baseline tests.
19 lines
618 B
Go
19 lines
618 B
Go
package client // import "github.com/docker/docker/client"
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/docker/docker/api/types"
|
|
)
|
|
|
|
type apiClientExperimental interface {
|
|
CheckpointAPIClient
|
|
}
|
|
|
|
// CheckpointAPIClient defines API client methods for the checkpoints
|
|
type CheckpointAPIClient interface {
|
|
CheckpointCreate(ctx context.Context, container string, options types.CheckpointCreateOptions) error
|
|
CheckpointDelete(ctx context.Context, container string, options types.CheckpointDeleteOptions) error
|
|
CheckpointList(ctx context.Context, container string, options types.CheckpointListOptions) ([]types.Checkpoint, error)
|
|
}
|