mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 10:00:01 +08:00 
			
		
		
		
	 069edc3adf
			
		
	
	069edc3adf
	
	
	
		
			
			(podman push) and (podman manifest push) now support --sign-by-sigstore=param-file, using the containers-sigstore-signing-params.yaml(5) file format. That notably adds support for Fulcio and Rekor signing. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
		
			
				
	
	
		
			51 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
| /*
 | |
| 
 | |
| 	Open a file, directory, or URI using the OS's default
 | |
| 	application for that object type.  Optionally, you can
 | |
| 	specify an application to use.
 | |
| 
 | |
| 	This is a proxy for the following commands:
 | |
| 
 | |
| 	         OSX: "open"
 | |
| 	     Windows: "start"
 | |
| 	 Linux/Other: "xdg-open"
 | |
| 
 | |
| 	This is a golang port of the node.js module: https://github.com/pwnall/node-open
 | |
| 
 | |
| */
 | |
| package open
 | |
| 
 | |
| /*
 | |
| 	Open a file, directory, or URI using the OS's default
 | |
| 	application for that object type. Wait for the open
 | |
| 	command to complete.
 | |
| */
 | |
| func Run(input string) error {
 | |
| 	return open(input).Run()
 | |
| }
 | |
| 
 | |
| /*
 | |
| 	Open a file, directory, or URI using the OS's default
 | |
| 	application for that object type. Don't wait for the
 | |
| 	open command to complete.
 | |
| */
 | |
| func Start(input string) error {
 | |
| 	return open(input).Start()
 | |
| }
 | |
| 
 | |
| /*
 | |
| 	Open a file, directory, or URI using the specified application.
 | |
| 	Wait for the open command to complete.
 | |
| */
 | |
| func RunWith(input string, appName string) error {
 | |
| 	return openWith(input, appName).Run()
 | |
| }
 | |
| 
 | |
| /*
 | |
| 	Open a file, directory, or URI using the specified application.
 | |
| 	Don't wait for the open command to complete.
 | |
| */
 | |
| func StartWith(input string, appName string) error {
 | |
| 	return openWith(input, appName).Start()
 | |
| }
 |