sql

package
v0.0.0-...-0312a9a Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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