Documentation ¶
Index ¶
- func ExecuteBackupAndRestoreTestCase(suiteCtx *types.SuiteContext, ctx *types.TestContext)
- func GetPostgresqlDatabasePod(clientset *kubernetes.Clientset, namespace string, name string) *corev1.Pod
- func RemoveJpaRegistry(suiteCtx *types.SuiteContext, ctx *types.TestContext)
- func RemovePostgresqlDatabase(k8sclient client.Client, clientset *kubernetes.Clientset, namespace string, ...)
- func SqlDeployResource(suiteCtx *types.SuiteContext, ctx *types.TestContext) *apicurio.ApicurioRegistry
- type DbData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteBackupAndRestoreTestCase ¶
func ExecuteBackupAndRestoreTestCase(suiteCtx *types.SuiteContext, ctx *types.TestContext)
func GetPostgresqlDatabasePod ¶
func GetPostgresqlDatabasePod(clientset *kubernetes.Clientset, namespace string, name string) *corev1.Pod
GetPostgresqlDatabasePod gets the database pod from the name given when created
func RemoveJpaRegistry ¶
func RemoveJpaRegistry(suiteCtx *types.SuiteContext, ctx *types.TestContext)
RemoveJpaRegistry uninstalls registry CR and postgresql database
func RemovePostgresqlDatabase ¶
func RemovePostgresqlDatabase(k8sclient client.Client, clientset *kubernetes.Clientset, namespace string, name string)
RemovePostgresqlDatabase removes a postgresql database
func SqlDeployResource ¶
func SqlDeployResource(suiteCtx *types.SuiteContext, ctx *types.TestContext) *apicurio.ApicurioRegistry
Types ¶
type DbData ¶
type DbData struct { Name string Host string Port string Database string User string Password string DataSourceURL string }
func DeployDebeziumPostgresqlDatabase ¶
func DeployDebeziumPostgresqlDatabase(suiteCtx *types.SuiteContext, namespace string, name string, database string, user string, password string) *DbData
DeployDebeziumPostgresqlDatabase deploys a postgresql database specifically configured to work with debezium
func DeployPostgresqlDatabase ¶
func DeployPostgresqlDatabase(suiteCtx *types.SuiteContext, namespace string, name string, database string, user string, password string) *DbData
DeployPostgresqlDatabase deploys a postgresql database
Click to show internal directories.
Click to hide internal directories.