Stephen Day 
							
						 
					 
					
						
						
							
						
						804ae89be6 
					 
					
						
						
							
							errors: use errdefs errors in client and commands  
						
						... 
						
						
						
						This change moves from specific, global errors to the errdefs errors.
This makes it easy to handle certain classes of errors while still
adding context to the failure.
Signed-off-by: Stephen Day <stephen.day@getcruise.com > 
						
						
					 
					
						2019-07-17 13:42:28 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Crosby 
							
						 
					 
					
						
						
							
						
						61d930ad5b 
					 
					
						
						
							
							Move specific errors to their respective packages  
						
						... 
						
						
						
						Signed-off-by: Michael Crosby <crosbymichael@gmail.com > 
						
						
					 
					
						2019-07-15 20:21:11 +00:00 
						 
				 
			
				
					
						
							
							
								Fahed Dorgaa 
							
						 
					 
					
						
						
							
						
						abc152d14c 
					 
					
						
						
							
							fix name in containers file  
						
						... 
						
						
						
						Signed-off-by: Fahed Dorgaa <fahed.dorgaa@gmail.com > 
						
						
					 
					
						2019-07-14 21:49:07 +02:00 
						 
				 
			
				
					
						
							
							
								Fahed Dorgaa 
							
						 
					 
					
						
						
							
						
						db95af43f3 
					 
					
						
						
							
							centralize harded-code message  
						
						... 
						
						
						
						Signed-off-by: Fahed Dorgaa <fahed.dorgaa@gmail.com > 
						
						
					 
					
						2019-07-13 15:07:23 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Crosby 
							
						 
					 
					
						
						
							
						
						67b45aef49 
					 
					
						
						
							
							Add WithoutRefreshed metadata  
						
						... 
						
						
						
						Closes  #2566 
This provides faster lookups and lists for ctr commands.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com > 
					
						2019-05-10 15:16:14 +00:00 
						 
				 
			
				
					
						
							
							
								Michael Crosby 
							
						 
					 
					
						
						
							
						
						bd27bef4ad 
					 
					
						
						
							
							Move checkpoint and restore commands to new files  
						
						... 
						
						
						
						Signed-off-by: Michael Crosby <crosbymichael@gmail.com > 
						
						
					 
					
						2019-05-10 14:20:19 +00:00 
						 
				 
			
				
					
						
							
							
								Davor Kapsa 
							
						 
					 
					
						
						
							
						
						cfc36388b3 
					 
					
						
						
							
							Remove redundant error checks  
						
						... 
						
						
						
						Signed-off-by: Davor Kapsa <davor.kapsa@gmail.com > 
						
						
					 
					
						2019-04-30 21:28:51 +02:00 
						 
				 
			
				
					
						
							
							
								Derek McGowan 
							
						 
					 
					
						
						
							
						
						32aa0cd79b 
					 
					
						
						
							
							Merge pull request  #2632  from ehazlett/checkpoint-restore  
						
						... 
						
						
						
						Refactor checkpoint and restore to client 
						
						
					 
					
						2018-11-20 16:31:08 -08:00 
						 
				 
			
				
					
						
							
							
								Lifubang 
							
						 
					 
					
						
						
							
						
						51ad4d3020 
					 
					
						
						
							
							change args usage for ctr c create  
						
						... 
						
						
						
						Signed-off-by: Lifubang <lifubang@acmcoder.com > 
						
						
					 
					
						2018-11-16 14:09:39 +08:00 
						 
				 
			
				
					
						
							
							
								Evan Hazlett 
							
						 
					 
					
						
						
							
						
						6f2f4e4343 
					 
					
						
						
							
							checkpoint: add copts to checkpoint; save snapshotter to annotation  
						
						... 
						
						
						
						Signed-off-by: Evan Hazlett <ejhazlett@gmail.com > 
						
						
					 
					
						2018-11-12 11:48:16 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Hazlett 
							
						 
					 
					
						
						
							
						
						4fdf720b84 
					 
					
						
						
							
							move rw to opt; make snapshot opt; move to NewContainerOpts  
						
						... 
						
						
						
						Signed-off-by: Evan Hazlett <ejhazlett@gmail.com > 
						
						
					 
					
						2018-11-12 11:47:17 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Hazlett 
							
						 
					 
					
						
						
							
						
						147208061c 
					 
					
						
						
							
							add image name and runtime name media types; remove task operation on checkpoint  
						
						... 
						
						
						
						Signed-off-by: Evan Hazlett <ejhazlett@gmail.com > 
						
						
					 
					
						2018-11-12 11:47:17 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Hazlett 
							
						 
					 
					
						
						
							
						
						ce0673fd7d 
					 
					
						
						
							
							Restore take image  
						
						... 
						
						
						
						Signed-off-by: Evan Hazlett <ejhazlett@gmail.com > 
						
						
					 
					
						2018-11-12 11:47:17 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Hazlett 
							
						 
					 
					
						
						
							
						
						0e4d9da755 
					 
					
						
						
							
							remove task handling from Restore  
						
						... 
						
						
						
						Signed-off-by: Evan Hazlett <ejhazlett@gmail.com > 
						
						
					 
					
						2018-11-12 11:47:16 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Hazlett 
							
						 
					 
					
						
						
							
						
						2d3db08daf 
					 
					
						
						
							
							refactor spec and snapshot restore into opts  
						
						... 
						
						
						
						Signed-off-by: Evan Hazlett <ejhazlett@gmail.com > 
						
						
					 
					
						2018-11-12 11:45:22 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Hazlett 
							
						 
					 
					
						
						
							
						
						45c700a955 
					 
					
						
						
							
							refactor checkpoint and restore to client  
						
						... 
						
						
						
						Signed-off-by: Evan Hazlett <ejhazlett@gmail.com > 
						
						
					 
					
						2018-11-12 11:45:22 +00:00 
						 
				 
			
				
					
						
							
							
								Lifubang 
							
						 
					 
					
						
						
							
						
						cb0eed833d 
					 
					
						
						
							
							decode Spec value in command 'ctr c info <containerid>'  
						
						... 
						
						
						
						Signed-off-by: Lifubang <lifubang@aliyun.com >
fix some errors
use typeurl.UnmarshalAny instead json.Unmarshal to interface{}
Signed-off-by: Lifubang <lifubang@aliyun.com >
Signed-off-by: Michael Crosby <crosbymichael@gmail.com > 
						
						
					 
					
						2018-09-27 10:44:54 -04:00 
						 
				 
			
				
					
						
							
							
								Lifubang 
							
						 
					 
					
						
						
							
						
						1d9b96988f 
					 
					
						
						
							
							fix when --config provided, don't need Image/RootFS  
						
						... 
						
						
						
						Signed-off-by: Lifubang <lifubang@aliyun.com > 
						
						
					 
					
						2018-08-27 11:18:25 +08:00 
						 
				 
			
				
					
						
							
							
								Michael Crosby 
							
						 
					 
					
						
						
							
						
						ca204317ed 
					 
					
						
						
							
							Merge pull request  #2422  from crosbymichael/ctr-delete  
						
						... 
						
						
						
						Add cio.Load for loading io set 
						
						
					 
					
						2018-06-27 08:46:18 -04:00 
						 
				 
			
				
					
						
							
							
								Michael Crosby 
							
						 
					 
					
						
						
							
						
						fdceb13b14 
					 
					
						
						
							
							Add cio.Load for loading io set  
						
						... 
						
						
						
						This adds a `Load` Opt for cio to load a tasks io/fifos without
attaching or starting the copy routines.
It adds the load method in `ctr` by default so that fifos or other IO
are removed from disk on delete methods inbetween command runs.  It is
not the default for all task loads for backwards compat. and a user may
want to keep io around to reuse or if log files are used.
Fixes  #2421 
Signed-off-by: Michael Crosby <crosbymichael@gmail.com > 
						
						
					 
					
						2018-06-26 11:48:26 -04:00 
						 
				 
			
				
					
						
							
							
								Felix Abecassis 
							
						 
					 
					
						
						
							
						
						5dd22a20af 
					 
					
						
						
							
							Move ContainerFlags to "commands" package  
						
						... 
						
						
						
						Commit 05513284e7fabecassis@nvidia.com > 
						
						
					 
					
						2018-06-20 18:33:59 -07:00 
						 
				 
			
				
					
						
							
							
								Kunal Kushwaha 
							
						 
					 
					
						
						
							
						
						b12c3215a0 
					 
					
						
						
							
							Licence header added  
						
						... 
						
						
						
						Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp > 
						
						
					 
					
						2018-02-19 10:32:26 +09:00 
						 
				 
			
				
					
						
							
							
								Jess Valarezo 
							
						 
					 
					
						
						
							
						
						2c9ce2e693 
					 
					
						
						
							
							ctr: add container create, config flag for spec  
						
						... 
						
						
						
						Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com > 
						
						
					 
					
						2018-01-25 17:16:13 -08:00 
						 
				 
			
				
					
						
							
							
								Jess Valarezo 
							
						 
					 
					
						
						
							
						
						61c8fe2307 
					 
					
						
						
							
							ctr: snapshot->snapshots cmd, add aliases  
						
						... 
						
						
						
						Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com > 
						
						
					 
					
						2017-11-29 14:34:02 -08:00 
						 
				 
			
				
					
						
							
							
								Jess Valarezo 
							
						 
					 
					
						
						
							
						
						864b16a2cb 
					 
					
						
						
							
							ctr: alphabetize commands, rename signals  
						
						... 
						
						
						
						Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com > 
						
						
					 
					
						2017-10-31 11:57:49 -07:00 
						 
				 
			
				
					
						
							
							
								Jess Valarezo 
							
						 
					 
					
						
						
							
						
						47fae4dd17 
					 
					
						
						
							
							ctr: move containers command  
						
						... 
						
						
						
						Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com > 
						
						
					 
					
						2017-10-25 21:07:54 -04:00