e2edb

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2021 License: Apache-2.0 Imports: 8 Imported by: 8

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 NewBigtable

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

func NewCassandra

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

func NewConsul

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

func NewDynamoDB

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

func NewETCD

func NewETCD(env e2e.Environment, name string, opts ...Option) *e2e.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) *e2e.InstrumentedRunnable

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

func NewSwiftStorage

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

Types

type Option

type Option func(*options)

func WithImage

func WithImage(image string) Option

type Prometheus

type Prometheus struct {
	*e2e.InstrumentedRunnable
}

func NewPrometheus

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

func (*Prometheus) SetConfig

func (p *Prometheus) SetConfig(config string) error

Jump to

Keyboard shortcuts

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