Documentation ¶
Index ¶
- Constants
- Variables
- func CheckIfAllDatabaseTablesArePresent(db *dbr.Connection) error
- func CloseDatabase(t *testing.T, connection *dbr.Connection)
- func EnsureTestNetworkForDB(t *testing.T, ctx context.Context) (func(), error)
- func InitTestDBContainer(t *testing.T, ctx context.Context) (func(), string, error)
Constants ¶
View Source
const ( DbUser = "admin" DbPass = "nimda" DbName = "provisioner" DbPort = "5432" TableCluster = "cluster" TableGardenerConfig = "gardener_config" TableOperation = "kyma_config" TableKymaComponentConfig = "kyma_component_config" TableRuntimeUpgrade = "runtime_upgrade" ClusterTableName = "cluster" SchemaName = "public" DockerUserNetwork = "test_network" EnvPipelineBuild = "PIPELINE_BUILD" TableNotExistsError = "42P01" )
Variables ¶
View Source
var (
SchemaFilePath = os.Getenv("GOPATH") + "/src/github.com/kyma-project/control-plane/components/provisioner/assets/database/provisioner.sql"
)
Functions ¶
func CheckIfAllDatabaseTablesArePresent ¶
func CheckIfAllDatabaseTablesArePresent(db *dbr.Connection) error
func CloseDatabase ¶
func EnsureTestNetworkForDB ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.