Documentation ¶
Index ¶
Constants ¶
View Source
const GlobalCouchCluster = -1
GlobalCouchCluster is the index of the CouchDB cluster for the global and secrets databases.
View Source
const UnknownDomainName string = "<unknown>"
UnknownDomainName represents the human-readable string of an empty domain name of a prefixer struct
Variables ¶
View Source
var GlobalPrefixer = NewPrefixer(GlobalCouchCluster, "", "global")
GlobalPrefixer returns a global prefixer with the wildcard '*' as prefix.
View Source
var SecretsPrefixer = NewPrefixer(GlobalCouchCluster, "", "secrets")
SecretsPrefixer is the the prefix used for db which hold a cozy stack secrets.
Functions ¶
This section is empty.
Types ¶
type Prefixer ¶
Prefixer interface describes a handle for a specific instance by its domain and a specific and unique prefix.
func NewPrefixer ¶
NewPrefixer returns a prefixer with the specified domain and prefix values.
Click to show internal directories.
Click to hide internal directories.