Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| 1 | 1 |
deleted file mode 100644 |
| ... | ... |
@@ -1,16 +0,0 @@ |
| 1 |
-package client |
|
| 2 |
- |
|
| 3 |
-import ( |
|
| 4 |
- "context" |
|
| 5 |
-) |
|
| 6 |
- |
|
| 7 |
-// CheckpointAPIClient defines API client methods for the checkpoints. |
|
| 8 |
-// |
|
| 9 |
-// Experimental: checkpoint and restore is still an experimental feature, |
|
| 10 |
-// and only available if the daemon is running with experimental features |
|
| 11 |
-// enabled. |
|
| 12 |
-type CheckpointAPIClient interface {
|
|
| 13 |
- CheckpointCreate(ctx context.Context, container string, options CheckpointCreateOptions) error |
|
| 14 |
- CheckpointDelete(ctx context.Context, container string, options CheckpointDeleteOptions) error |
|
| 15 |
- CheckpointList(ctx context.Context, container string, options CheckpointListOptions) (CheckpointListResult, error) |
|
| 16 |
-} |
| ... | ... |
@@ -49,6 +49,17 @@ type HijackDialer interface {
|
| 49 | 49 |
DialHijack(ctx context.Context, url, proto string, meta map[string][]string) (net.Conn, error) |
| 50 | 50 |
} |
| 51 | 51 |
|
| 52 |
+// CheckpointAPIClient defines API client methods for the checkpoints. |
|
| 53 |
+// |
|
| 54 |
+// Experimental: checkpoint and restore is still an experimental feature, |
|
| 55 |
+// and only available if the daemon is running with experimental features |
|
| 56 |
+// enabled. |
|
| 57 |
+type CheckpointAPIClient interface {
|
|
| 58 |
+ CheckpointCreate(ctx context.Context, container string, options CheckpointCreateOptions) error |
|
| 59 |
+ CheckpointDelete(ctx context.Context, container string, options CheckpointDeleteOptions) error |
|
| 60 |
+ CheckpointList(ctx context.Context, container string, options CheckpointListOptions) (CheckpointListResult, error) |
|
| 61 |
+} |
|
| 62 |
+ |
|
| 52 | 63 |
// ContainerAPIClient defines API client methods for the containers |
| 53 | 64 |
type ContainerAPIClient interface {
|
| 54 | 65 |
ContainerCreate(ctx context.Context, options ContainerCreateOptions) (ContainerCreateResult, error) |
| 55 | 66 |
deleted file mode 100644 |
| ... | ... |
@@ -1,16 +0,0 @@ |
| 1 |
-package client |
|
| 2 |
- |
|
| 3 |
-import ( |
|
| 4 |
- "context" |
|
| 5 |
-) |
|
| 6 |
- |
|
| 7 |
-// CheckpointAPIClient defines API client methods for the checkpoints. |
|
| 8 |
-// |
|
| 9 |
-// Experimental: checkpoint and restore is still an experimental feature, |
|
| 10 |
-// and only available if the daemon is running with experimental features |
|
| 11 |
-// enabled. |
|
| 12 |
-type CheckpointAPIClient interface {
|
|
| 13 |
- CheckpointCreate(ctx context.Context, container string, options CheckpointCreateOptions) error |
|
| 14 |
- CheckpointDelete(ctx context.Context, container string, options CheckpointDeleteOptions) error |
|
| 15 |
- CheckpointList(ctx context.Context, container string, options CheckpointListOptions) (CheckpointListResult, error) |
|
| 16 |
-} |
| ... | ... |
@@ -49,6 +49,17 @@ type HijackDialer interface {
|
| 49 | 49 |
DialHijack(ctx context.Context, url, proto string, meta map[string][]string) (net.Conn, error) |
| 50 | 50 |
} |
| 51 | 51 |
|
| 52 |
+// CheckpointAPIClient defines API client methods for the checkpoints. |
|
| 53 |
+// |
|
| 54 |
+// Experimental: checkpoint and restore is still an experimental feature, |
|
| 55 |
+// and only available if the daemon is running with experimental features |
|
| 56 |
+// enabled. |
|
| 57 |
+type CheckpointAPIClient interface {
|
|
| 58 |
+ CheckpointCreate(ctx context.Context, container string, options CheckpointCreateOptions) error |
|
| 59 |
+ CheckpointDelete(ctx context.Context, container string, options CheckpointDeleteOptions) error |
|
| 60 |
+ CheckpointList(ctx context.Context, container string, options CheckpointListOptions) (CheckpointListResult, error) |
|
| 61 |
+} |
|
| 62 |
+ |
|
| 52 | 63 |
// ContainerAPIClient defines API client methods for the containers |
| 53 | 64 |
type ContainerAPIClient interface {
|
| 54 | 65 |
ContainerCreate(ctx context.Context, options ContainerCreateOptions) (ContainerCreateResult, error) |