You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							18 lines
						
					
					
						
							493 B
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							18 lines
						
					
					
						
							493 B
						
					
					
				| package s3_constants | |
| 
 | |
| import ( | |
| 	"strings" | |
| ) | |
| 
 | |
| var ( | |
| 	CircuitBreakerConfigDir  = "/etc/s3" | |
| 	CircuitBreakerConfigFile = "circuit_breaker.json" | |
| 	AllowedActions           = []string{ACTION_READ, ACTION_READ_ACP, ACTION_WRITE, ACTION_WRITE_ACP, ACTION_LIST, ACTION_TAGGING, ACTION_ADMIN, ACTION_DELETE_BUCKET} | |
| 	LimitTypeCount           = "Count" | |
| 	LimitTypeBytes           = "MB" | |
| 	Separator                = ":" | |
| ) | |
| 
 | |
| func Concat(elements ...string) string { | |
| 	return strings.Join(elements, Separator) | |
| }
 |