...
1 package couchdb
2
3 import "time"
4
5 const (
6 CouchDBName = "couchdb"
7 AdminServerName = "couch-server"
8 StoreServerName = "store-server"
9 AdminNodeCount = 5
10 StoreNodeCount = 1
11 URI = "data-sync-couchdb.data-sync-couchdb.svc.cluster.local"
12 CouchCertName = "couch-managed-cert-1"
13 CouchIngressName = "couchdb-ingress-1"
14 ReplicationDocument = "repl_doc"
15 ReplicationInterval = 1 * time.Minute
16 Driver = "couch"
17 Port = "5984"
18 Name = "data-sync-couchdb"
19 Namespace = "data-sync-couchdb"
20 ServiceName = "data-sync-couchdb-lane"
21 TouchpointName = "couchdb-lane"
22 ReplicationHostFormat = "http://localhost:%s"
23 ReplicationDBPrefix = "repl-"
24 ReplicationUser = "replication-user"
25 CreateViewUser = "create-view-user"
26 ReadOnlyUser = "read-only-user"
27 IgnoreDeletionLabel = "datasync.edge.ncr.com/ignore"
28 ReadOnlyDesignDoc = "validate_doc_update"
29 AuthDesignDoc = "_design/auth"
30 StatefulSetLabel = "node.ncr.com/statefulset"
31 NodeUIDLabel = "node.ncr.com/node-uid"
32 NodeNameAnnotation = "node.ncr.com/name"
33 LabelValueTrue = "true"
34 SubstitutionLabel = "datasync.edge.ncr.com/substitution"
35 SecretManagerLabel = "datasync.edge.ncr.com/secret-manager"
36 NodeLeaderLabel = "node.ncr.com/leader"
37 AllDocs = "_all_docs"
38 )
39
View as plain text