mirror of https://github.com/docker/cli.git
18 lines
590 B
Go
18 lines
590 B
Go
package client
|
|
|
|
import (
|
|
"github.com/docker/docker/api/types"
|
|
"golang.org/x/net/context"
|
|
)
|
|
|
|
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)
|
|
}
|