mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 18:08:51 +08:00 
			
		
		
		
	 4d2fc293c0
			
		
	
	4d2fc293c0
	
	
	
		
			
			To make it very clear in the code what unit the uint represents. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			282 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			282 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package define
 | |
| 
 | |
| import "github.com/containers/common/pkg/strongunits"
 | |
| 
 | |
| type SetOptions struct {
 | |
| 	CPUs               *uint64
 | |
| 	DiskSize           *strongunits.GiB
 | |
| 	Memory             *strongunits.MiB
 | |
| 	Rootful            *bool
 | |
| 	UserModeNetworking *bool
 | |
| 	USBs               *[]string
 | |
| }
 |