basefunctions

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateMasterPassword

func GenerateMasterPassword() (string, error)

func GeneratePassword

func GeneratePassword(viperConfig *viper.Viper) (string, error)

func GetBackupRetentionDays

func GetBackupRetentionDays(viperConfig *viper.Viper) int64

func GetCaCertificateIdentifier

func GetCaCertificateIdentifier(viperConfig *viper.Viper) string

func GetDbSubnetGroupNameRef

func GetDbSubnetGroupNameRef(viperConfig *viper.Viper) string

func GetDefaultBackupPolicy

func GetDefaultBackupPolicy(viperConfig *viper.Viper) string

func GetDefaultMasterPort

func GetDefaultMasterPort(viperConfig *viper.Viper) string

func GetDefaultMasterUser

func GetDefaultMasterUser(viperConfig *viper.Viper) string

func GetDefaultNumDig

func GetDefaultNumDig() int

func GetDefaultNumSimb

func GetDefaultNumSimb() int

func GetDefaultPassLen

func GetDefaultPassLen() int

func GetDefaultReclaimPolicy

func GetDefaultReclaimPolicy(viperConfig *viper.Viper) string

func GetDefaultSSLMode

func GetDefaultSSLMode(viperConfig *viper.Viper) string

func GetDynamicHostWaitTime

func GetDynamicHostWaitTime(viperConfig *viper.Viper) time.Duration

func GetEnableCloudwatchLogsExport

func GetEnableCloudwatchLogsExport(viperConfig *viper.Viper) string

func GetEnablePerfInsight

func GetEnablePerfInsight(viperConfig *viper.Viper) bool

func GetIsPasswordComplexity

func GetIsPasswordComplexity(viperConfig *viper.Viper) bool

func GetMaxWaitTime

func GetMaxWaitTime() time.Duration

func GetMinPasswordLength

func GetMinPasswordLength(viperConfig *viper.Viper) int

func GetMultiAZEnabled

func GetMultiAZEnabled(viperConfig *viper.Viper) bool

func GetPasswordRotationPeriod

func GetPasswordRotationPeriod(viperConfig *viper.Viper) time.Duration

func GetPgTempFolder

func GetPgTempFolder(viperConfig *viper.Viper) string

func GetProviderConfig

func GetProviderConfig(viperConfig *viper.Viper) string

func GetRegion

func GetRegion(viperConfig *viper.Viper) string

func GetSuperUserElevation

func GetSuperUserElevation(viperConfig *viper.Viper) bool

func GetSystemFunctions

func GetSystemFunctions(viperConfig *viper.Viper) map[string]string

func GetVpcSecurityGroupIDRefs

func GetVpcSecurityGroupIDRefs(viperConfig *viper.Viper) string

func IsClassPermitted

func IsClassPermitted(claimClass, controllerClass string) bool

func SanitizeDsn

func SanitizeDsn(dsn string) string

func ValidateConnectionParameters

func ValidateConnectionParameters(connInfo *persistancev1.DatabaseClaimConnectionInfo) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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