basefunctions

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 9 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 GetCloud added in v1.0.7

func GetCloud(viperConfig *viper.Viper) string

func GetDBIdentifierPrefix added in v1.0.7

func GetDBIdentifierPrefix(viperConfig *viper.Viper) string

GetDBIdentifierPrefix returns the prefix for the database identifier.

func GetDbSubnetGroupNameRef

func GetDbSubnetGroupNameRef(viperConfig *viper.Viper) string

func GetDefaultBackupPolicy

func GetDefaultBackupPolicy(viperConfig *viper.Viper) string

func GetDefaultMajorVersion added in v1.10.0

func GetDefaultMajorVersion(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 GetNetwork added in v1.0.7

func GetNetwork(viperConfig *viper.Viper) string

GCP only

func GetNumBackupsToRetain added in v1.0.7

func GetNumBackupsToRetain(viperConfig *viper.Viper) *float64

GCP only

func GetPasswordRotationPeriod

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

func GetPgTempFolder

func GetPgTempFolder(viperConfig *viper.Viper) string

func GetProject added in v1.0.7

func GetProject(viperConfig *viper.Viper) string

GCP only

func GetProviderConfig

func GetProviderConfig(viperConfig *viper.Viper) string

func GetRegion

func GetRegion(viperConfig *viper.Viper) string

func GetSubNetwork added in v1.0.7

func GetSubNetwork(viperConfig *viper.Viper) string

GCP only

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