mirror of
				https://github.com/linuxkit/linuxkit.git
				synced 2025-10-31 15:47:46 +00:00 
			
		
		
		
	Replace riddler with code that constructs config.json directly
Generated largely from the specified config; small parts taken from `docker image inspect`, such as the command line. Renamed some of the yaml keys to match the OCI spec rather than Docker Compose as we decided they are more readable, no more underscores. Add some extra functionality - tmpfs specification - fully general mount specification - no new privileges can be specified now For nostalgic reasons, using engine-api to talk to the docker cli as we only need an old API version, and it is nice and easy to vendor... Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
		
							
								
								
									
										12
									
								
								vendor/github.com/docker/engine-api/client/checkpoint_delete.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								vendor/github.com/docker/engine-api/client/checkpoint_delete.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| package client | ||||
|  | ||||
| import ( | ||||
| 	"golang.org/x/net/context" | ||||
| ) | ||||
|  | ||||
| // CheckpointDelete deletes the checkpoint with the given name from the given container | ||||
| func (cli *Client) CheckpointDelete(ctx context.Context, containerID string, checkpointID string) error { | ||||
| 	resp, err := cli.delete(ctx, "/containers/"+containerID+"/checkpoints/"+checkpointID, nil, nil) | ||||
| 	ensureReaderClosed(resp) | ||||
| 	return err | ||||
| } | ||||
		Reference in New Issue
	
	Block a user