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
- func NewAzuriteBlobStorage(env e2e.Environment, name string, opts ...Option) *e2emon.InstrumentedRunnable
- func NewAzuriteBlobStorageWriter(env e2e.Environment, name, containerName, tempDataDir string, opts ...Option) e2e.Runnable
- func NewBigtable(env e2e.Environment, name string, opts ...Option) e2e.Runnable
- func NewCassandra(env e2e.Environment, name string, opts ...Option) *e2emon.InstrumentedRunnable
- func NewConsul(env e2e.Environment, name string, opts ...Option) *e2emon.InstrumentedRunnable
- func NewDynamoDB(env e2e.Environment, name string, opts ...Option) *e2emon.InstrumentedRunnable
- func NewETCD(env e2e.Environment, name string, opts ...Option) *e2emon.InstrumentedRunnable
- func NewMemcached(env e2e.Environment, name string, opts ...Option) e2e.Runnable
- func NewMinio(env e2e.Environment, name, bktName string, opts ...Option) *e2emon.InstrumentedRunnable
- func NewParca(env e2e.Environment, name string, opts ...Option) *e2eprof.Parca
- func NewPrometheus(env e2e.Environment, name string, opts ...Option) *e2emon.Prometheus
- func NewSwiftStorage(env e2e.Environment, name string, opts ...Option) *e2emon.InstrumentedRunnable
- func NewThanosQuerier(env e2e.Environment, name string, endpointsAddresses []string, opts ...Option) *e2eobs.Observable
- func NewThanosSidecar(env e2e.Environment, name string, prom e2e.Linkable, opts ...Option) *e2eobs.Observable
- func NewThanosStore(env e2e.Environment, name string, bktConfigYaml []byte, opts ...Option) *e2eobs.Observable
- type Option
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 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 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 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 WithFlagOverride ¶
func WithMinioSSE ¶
func WithMinioSSE() Option
func WithMinioTLS ¶
func WithMinioTLS() Option
Click to show internal directories.
Click to hide internal directories.