| 
									
										
										
										
											2020-09-24 23:40:57 +08:00
										 |  |  | // +build darwin
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | package buildah | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import ( | 
					
						
							| 
									
										
										
										
											2021-06-22 16:26:21 +08:00
										 |  |  | 	"github.com/containers/buildah/define" | 
					
						
							| 
									
										
										
										
											2020-09-24 23:40:57 +08:00
										 |  |  | 	"github.com/pkg/errors" | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // ContainerDevices is an alias for a slice of github.com/opencontainers/runc/libcontainer/configs.Device structures.
 | 
					
						
							| 
									
										
										
										
											2021-06-22 16:26:21 +08:00
										 |  |  | type ContainerDevices define.ContainerDevices | 
					
						
							| 
									
										
										
										
											2020-09-24 23:40:57 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | func setChildProcess() error { | 
					
						
							|  |  |  | 	return errors.New("function not supported on non-linux systems") | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | func runUsingRuntimeMain() {} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | func (b *Builder) Run(command []string, options RunOptions) error { | 
					
						
							|  |  |  | 	return errors.New("function not supported on non-linux systems") | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | func DefaultNamespaceOptions() (NamespaceOptions, error) { | 
					
						
							|  |  |  | 	return NamespaceOptions{}, errors.New("function not supported on non-linux systems") | 
					
						
							|  |  |  | } |