Documentation ¶
Index ¶
- func GenerateMasterPassword() (string, error)
- func GeneratePassword(viperConfig *viper.Viper) (string, error)
- func GetBackupRetentionDays(viperConfig *viper.Viper) int64
- func GetCaCertificateIdentifier(viperConfig *viper.Viper) string
- func GetClientForExistingDB(connInfo *persistancev1.DatabaseClaimConnectionInfo, log *logr.Logger) (dbclient.Clienter, error)
- func GetCloud(viperConfig *viper.Viper) string
- func GetDBIdentifierPrefix(viperConfig *viper.Viper) string
- func GetDbSubnetGroupNameRef(viperConfig *viper.Viper) string
- func GetDefaultBackupPolicy(viperConfig *viper.Viper) string
- func GetDefaultMajorVersion(viperConfig *viper.Viper) string
- func GetDefaultMasterPort(viperConfig *viper.Viper) string
- func GetDefaultMasterUser(viperConfig *viper.Viper) string
- func GetDefaultNumDig() int
- func GetDefaultNumSimb() int
- func GetDefaultPassLen() int
- func GetDefaultReclaimPolicy(viperConfig *viper.Viper) string
- func GetDefaultSSLMode(viperConfig *viper.Viper) string
- func GetDynamicHostWaitTime(viperConfig *viper.Viper) time.Duration
- func GetEnableCloudwatchLogsExport(viperConfig *viper.Viper) string
- func GetEnablePerfInsight(viperConfig *viper.Viper) bool
- func GetIsPasswordComplexity(viperConfig *viper.Viper) bool
- func GetMaxWaitTime() time.Duration
- func GetMinPasswordLength(viperConfig *viper.Viper) int
- func GetMultiAZEnabled(viperConfig *viper.Viper) bool
- func GetNetwork(viperConfig *viper.Viper) string
- func GetNumBackupsToRetain(viperConfig *viper.Viper) *float64
- func GetPasswordRotationPeriod(viperConfig *viper.Viper) time.Duration
- func GetPgTempFolder(viperConfig *viper.Viper) string
- func GetProject(viperConfig *viper.Viper) string
- func GetProviderConfig(viperConfig *viper.Viper) string
- func GetRegion(viperConfig *viper.Viper) string
- func GetSubNetwork(viperConfig *viper.Viper) string
- func GetSuperUserElevation(viperConfig *viper.Viper) bool
- func GetSystemFunctions(viperConfig *viper.Viper) map[string]string
- func GetVpcSecurityGroupIDRefs(viperConfig *viper.Viper) string
- func IsClassPermitted(claimClass, controllerClass string) bool
- func SanitizeDsn(dsn string) string
- func ValidateConnectionParameters(connInfo *persistancev1.DatabaseClaimConnectionInfo) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateMasterPassword ¶
func GetBackupRetentionDays ¶
func GetClientForExistingDB ¶
func GetClientForExistingDB(connInfo *persistancev1.DatabaseClaimConnectionInfo, log *logr.Logger) (dbclient.Clienter, error)
func GetDBIdentifierPrefix ¶ added in v1.0.7
GetDBIdentifierPrefix returns the prefix for the database identifier.
func GetDbSubnetGroupNameRef ¶
func GetDefaultBackupPolicy ¶
func GetDefaultMajorVersion ¶ added in v1.10.0
func GetDefaultMasterPort ¶
func GetDefaultMasterUser ¶
func GetDefaultNumDig ¶
func GetDefaultNumDig() int
func GetDefaultNumSimb ¶
func GetDefaultNumSimb() int
func GetDefaultPassLen ¶
func GetDefaultPassLen() int
func GetDefaultReclaimPolicy ¶
func GetDefaultSSLMode ¶
func GetEnablePerfInsight ¶
func GetIsPasswordComplexity ¶
func GetMaxWaitTime ¶
func GetMinPasswordLength ¶
func GetMultiAZEnabled ¶
func GetNumBackupsToRetain ¶ added in v1.0.7
GCP only
func GetPgTempFolder ¶
func GetProviderConfig ¶
func GetSuperUserElevation ¶
func IsClassPermitted ¶
func SanitizeDsn ¶
func ValidateConnectionParameters ¶
func ValidateConnectionParameters(connInfo *persistancev1.DatabaseClaimConnectionInfo) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.