e2e

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFromFile

func CreateFromFile(ctx context.Context, k8sClient client.Client, namespace, path string) (func(), error)

Types

type TestEnv

type TestEnv struct {
	DBConfig        mmv1beta.ExternalDatabase
	FileStoreConfig mmv1beta.ExternalFileStore

	CleanupFunc func()
}

func SetupTestEnv

func SetupTestEnv(k8sClient client.Client, namespace string) (TestEnv, error)

SetupTestEnv sets up Minio and Postgres in given namespace.

Jump to

Keyboard shortcuts

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