e2edb

package
v0.0.0-...-f88cfba Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package e2edb is a reference, instrumented runnables that are running various popular databases one could run in their tests or benchmarks.

Index

Constants

View Source
const (
	MinioAccessKey = "Cheescake"
	MinioSecretKey = "supersecret"
)
View Source
const AccessPortName = "http"

Variables

This section is empty.

Functions

func NewAzuriteBlobStorage

func NewAzuriteBlobStorage(env e2e.Environment, name string, opts ...Option) *e2emon.InstrumentedRunnable

NewAzuriteBlobStorage returns azurite server, used as a local replacement for Azure Blob Storage.

func NewAzuriteBlobStorageWriter

func NewAzuriteBlobStorageWriter(env e2e.Environment, name, containerName, tempDataDir string, opts ...Option) e2e.Runnable

NewAzuriteBlobStorageWriter starts a container with azure CLI, to write data into azurite blob storage. This is needed, since Azurite doesn't support copying over dirs, but encodes into https://github.com/techfort/LokiJS db.

func NewBigtable

func NewBigtable(env e2e.Environment, name string, opts ...Option) e2e.Runnable

func NewCassandra

func NewCassandra(env e2e.Environment, name string, opts ...Option) *e2emon.InstrumentedRunnable

func NewConsul

func NewConsul(env e2e.Environment, name string, opts ...Option) *e2emon.InstrumentedRunnable

func NewDynamoDB

func NewDynamoDB(env e2e.Environment, name string, opts ...Option) *e2emon.InstrumentedRunnable

func NewETCD

func NewETCD(env e2e.Environment, name string, opts ...Option) *e2emon.InstrumentedRunnable

func NewMemcached

func NewMemcached(env e2e.Environment, name string, opts ...Option) e2e.Runnable

func NewMinio

func NewMinio(env e2e.Environment, name, bktName string, opts ...Option) *e2emon.InstrumentedRunnable

NewMinio returns minio server, used as a local replacement for S3.

func NewParca

func NewParca(env e2e.Environment, name string, opts ...Option) *e2eprof.Parca

func NewPrometheus

func NewPrometheus(env e2e.Environment, name string, opts ...Option) *e2emon.Prometheus

func NewSwiftStorage

func NewSwiftStorage(env e2e.Environment, name string, opts ...Option) *e2emon.InstrumentedRunnable

func NewThanosQuerier

func NewThanosQuerier(env e2e.Environment, name string, endpointsAddresses []string, opts ...Option) *e2eobs.Observable

func NewThanosSidecar

func NewThanosSidecar(env e2e.Environment, name string, prom e2e.Linkable, opts ...Option) *e2eobs.Observable

func NewThanosStore

func NewThanosStore(env e2e.Environment, name string, bktConfigYaml []byte, opts ...Option) *e2eobs.Observable

Types

type Option

type Option func(*options)

func WithAzuriteConnectionStringOverride

func WithAzuriteConnectionStringOverride(s string) Option

func WithAzuriteStorageAccounts

func WithAzuriteStorageAccounts(acc string) Option

func WithFlagOverride

func WithFlagOverride(ov map[string]string) Option

func WithImage

func WithImage(image string) Option

func WithMinioSSE

func WithMinioSSE() Option

func WithMinioTLS

func WithMinioTLS() Option

Jump to

Keyboard shortcuts

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