Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EventstoreDBContainerOptionsDecorator = func(t *testing.T, ctx context.Context) interface{} { return func(c *config.EventStoreDbOptions, logger logger.Logger) (*config.EventStoreDbOptions, error) { newOption, err := NewEventstoreDBTestContainers(logger).CreatingContainerOptions(ctx, t) if err != nil { return nil, err } newOption.Subscription = c.Subscription return newOption, nil } }
View Source
var ReplaceEventStoreContainerOptions = func(t *testing.T, options *config.EventStoreDbOptions, ctx context.Context, logger logger.Logger) error { newOption, err := NewEventstoreDBTestContainers(logger).CreatingContainerOptions(ctx, t) if err != nil { return err } options.HttpPort = newOption.HttpPort options.TcpPort = newOption.TcpPort options.Host = newOption.Host return nil }
Functions ¶
func NewEventstoreDBTestContainers ¶
func NewEventstoreDBTestContainers(l logger.Logger) contracts.EventstoreDBContainer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.