mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-20 13:50:23 -04:00
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)
|
||
|
}
|