mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-26 00:58:24 +00:00
18 lines
617 B
Go
18 lines
617 B
Go
|
package docker // import "docker.io/go-docker"
|
||
|
|
||
|
import (
|
||
|
"docker.io/go-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)
|
||
|
}
|