pkg

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// general
	EnvServiceName    = "SERVICE_NAME"
	EnvMongoDBPort    = "MONGODB_PORT"
	EnvMongoDBIp      = "MONGODB_IP"
	EnvMongoDBReplset = "MONGODB_REPLSET"

	// backup user
	EnvMongoDBBackupUser     = "MONGODB_BACKUP_USER"
	EnvMongoDBBackupPassword = "MONGODB_BACKUP_PASSWORD"

	// clusterAdmin user
	EnvMongoDBClusterAdminUser     = "MONGODB_CLUSTER_ADMIN_USER"
	EnvMongoDBClusterAdminPassword = "MONGODB_CLUSTER_ADMIN_PASSWORD"

	// clusterMonitor user
	EnvMongoDBClusterMonitorUser     = "MONGODB_CLUSTER_MONITOR_USER"
	EnvMongoDBClusterMonitorPassword = "MONGODB_CLUSTER_MONITOR_PASSWORD"

	// userAdmin user
	EnvMongoDBUserAdminUser     = "MONGODB_USER_ADMIN_USER"
	EnvMongoDBUserAdminPassword = "MONGODB_USER_ADMIN_PASSWORD"

	// mongodb ssl
	EnvMongoDBNetSSLEnabled    = "MONGODB_NET_SSL_ENABLED"
	EnvMongoDBNetSSLInsecure   = "MONGODB_NET_SSL_INSECURE"
	EnvMongoDBNetSSLPEMKeyFile = "MONGODB_NET_SSL_PEM_KEY_FILE"
	EnvMongoDBNetSSLCAFile     = "MONGODB_NET_SSL_CA_FILE"

	// replset init
	EnvInitInitiateDelay       = "INIT_INITIATE_DELAY"
	EnvInitMaxConnectTries     = "INIT_MAX_CONNECT_TRIES"
	EnvInitMaxInitReplsetTries = "INIT_MAX_INIT_REPLSET_TRIES"
	EnvInitRetrySleep          = "INIT_RETRY_SLEEP"
)
View Source
const (
	DefaultServiceName = "percona-server-mongodb"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
pod
k8s
mocks
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL