...

Source file src/edge-infra.dev/pkg/edge/datasync/couchdb/constants.go

Documentation: edge-infra.dev/pkg/edge/datasync/couchdb

     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" // Name of couchdb cloud server
    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" // Node UUID
    32  	NodeNameAnnotation    = "node.ncr.com/name"     // Node name
    33  	LabelValueTrue        = "true"                  // make linter happy
    34  	SubstitutionLabel     = "datasync.edge.ncr.com/substitution"
    35  	SecretManagerLabel    = "datasync.edge.ncr.com/secret-manager" //nolint:gosec
    36  	NodeLeaderLabel       = "node.ncr.com/leader"
    37  	AllDocs               = "_all_docs"
    38  )
    39  

View as plain text