20 lines
		
	
	
		
			462 B
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			462 B
		
	
	
	
		
			Go
		
	
	
	
package constants
 | 
						|
 | 
						|
import "time"
 | 
						|
 | 
						|
const (
 | 
						|
	TPRName              = "postgresql"
 | 
						|
	TPRVendor            = "acid.zalan.do"
 | 
						|
	TPRDescription       = "Managed PostgreSQL clusters"
 | 
						|
	TPRReadyWaitInterval = 3 * time.Second
 | 
						|
	TPRReadyWaitTimeout  = 30 * time.Second
 | 
						|
	TPRApiVersion        = "v1"
 | 
						|
 | 
						|
	ResourceName = TPRName + "s"
 | 
						|
	ResyncPeriod = 5 * time.Minute
 | 
						|
 | 
						|
	EtcdHost = "etcd-client.default.svc.cluster.local:2379" //TODO: move to the operator spec
 | 
						|
 | 
						|
	PasswordLength = 64
 | 
						|
)
 |