Documentation
¶
Index ¶
Constants ¶
View Source
const ( GigaByte int64 = 1 << 30 MinWiredTigerCacheSizeGB float64 = 0.25 // MongodDataVolClaimName is a PVC Claim name MongodDataVolClaimName = "mongod-data" // MongodContainerDataDir is a mongo data path in container MongodContainerDataDir = "/data/db" MongodContainerDataLogsDir = "/data/db/logs" BinVolumeName = "bin" BinMountPath = "/opt/percona" MongoshHomeVolumeName = "mongosh" MongoshHomeMountPath = "/.mongodb" LDAPConfVolClaimName = "ldap" LDAPConfDir = "/etc/openldap" LDAPTLSVolClaimName = "ldap-tls" LDAPTLSDir = "/etc/openldap/certs" SSLDir = "/etc/mongodb-ssl" SSLInternalDir = "/etc/mongodb-ssl-internal" VaultDir = "/etc/mongodb-vault" MongodConfigDir = "/etc/mongodb-config" MongosConfigDir = "/etc/mongos-config" MongodSecretsDir = "/etc/mongodb-secrets" MongodPortName = "mongodb" MongosPortName = "mongos" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomConfig ¶
type CustomConfig struct {
Type VolumeSourceType
HashHex string
}
type HashableObject ¶
func VolumeSourceTypeToObj ¶
func VolumeSourceTypeToObj(s VolumeSourceType) HashableObject
type VolumeSourceType ¶
type VolumeSourceType int
const ( VolumeSourceNone VolumeSourceType = iota VolumeSourceConfigMap VolumeSourceSecret )
func (VolumeSourceType) IsUsable ¶
func (s VolumeSourceType) IsUsable() bool
func (VolumeSourceType) String ¶
func (s VolumeSourceType) String() string
func (VolumeSourceType) VolumeSource ¶
func (s VolumeSourceType) VolumeSource(name string) corev1.VolumeSource
Click to show internal directories.
Click to hide internal directories.