mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 01:50:50 +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>
		
			
				
	
	
		
			21 lines
		
	
	
		
			362 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			362 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package logger
 | |
| 
 | |
| import "os"
 | |
| 
 | |
| type Logger interface {
 | |
| 	Printf(format string, args ...interface{})
 | |
| 	Debugf(format string, args ...interface{})
 | |
| }
 | |
| 
 | |
| func DebugEnabled() bool {
 | |
| 	d := os.Getenv("SWAGGER_DEBUG")
 | |
| 	if d != "" && d != "false" && d != "0" {
 | |
| 		return true
 | |
| 	}
 | |
| 	d = os.Getenv("DEBUG")
 | |
| 	if d != "" && d != "false" && d != "0" {
 | |
| 		return true
 | |
| 	}
 | |
| 	return false
 | |
| }
 |