| 
									
										
										
										
											2021-10-18 13:51:51 +08:00
										 |  |  | package internal | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-10 18:11:37 +08:00
										 |  |  | const ( | 
					
						
							|  |  |  | 	// Temp directory which stores external artifacts which are download for a build.
 | 
					
						
							|  |  |  | 	// Example: tar files from external sources.
 | 
					
						
							|  |  |  | 	BuildahExternalArtifactsDir = "buildah-external-artifacts" | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-18 13:51:51 +08:00
										 |  |  | // Types is internal packages are suspected to change with releases avoid using these outside of buildah
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // StageMountDetails holds the Stage/Image mountpoint returned by StageExecutor
 | 
					
						
							|  |  |  | // StageExecutor has ability to mount stages/images in current context and
 | 
					
						
							|  |  |  | // automatically clean them up.
 | 
					
						
							|  |  |  | type StageMountDetails struct { | 
					
						
							| 
									
										
										
										
											2023-01-18 18:21:31 +08:00
										 |  |  | 	DidExecute bool   // tells if the stage which is being mounted was freshly executed or was part of older cache
 | 
					
						
							| 
									
										
										
										
											2021-10-18 13:51:51 +08:00
										 |  |  | 	IsStage    bool   // tells if mountpoint returned from stage executor is stage or image
 | 
					
						
							|  |  |  | 	MountPoint string // mountpoint of stage/image
 | 
					
						
							|  |  |  | } |