Documentation ¶
Index ¶
- Constants
- func GetEnableAdminUiWithAtomPub() map[string]string
- func WaitWithTimeout(wg *sync.WaitGroup, duration time.Duration) bool
- type CloseFunc
- func InitializeGrpcClient(t *testing.T, environmentVariableOverrides map[string]string) (connection.GrpcClient, CloseFunc)
- func InitializeGrpcClientWithCredentials(t *testing.T, username string, password string, ...) (connection.GrpcClient, CloseFunc)
- func InitializeGrpcClientWithPrePopulatedDatabase(t *testing.T) (connection.GrpcClient, CloseFunc)
- func InitializeGrpcClientWithTLS(t *testing.T, environmentVariableOverrides map[string]string) (connection.GrpcClient, CloseFunc)
- type Container
- type EventStoreEnvironmentVariable
Constants ¶
View Source
const ( DEFAULT_EVENTSTORE_DOCKER_REPOSITORY = "docker.pkg.github.com/eventstore/eventstore-client-grpc-testdata/eventstore-client-grpc-testdata" DEFAULT_EVENTSTORE_DOCKER_TAG = "21.6.0-buster-slim" DEFAULT_EVENTSTORE_DOCKER_PORT = "2114" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CloseFunc ¶
type CloseFunc func()
func InitializeGrpcClient ¶
func InitializeGrpcClient(t *testing.T, environmentVariableOverrides map[string]string) (connection.GrpcClient, CloseFunc)
func InitializeGrpcClientWithCredentials ¶
func InitializeGrpcClientWithCredentials(t *testing.T, username string, password string, environmentVariableOverrides map[string]string) (connection.GrpcClient, CloseFunc)
func InitializeGrpcClientWithPrePopulatedDatabase ¶
func InitializeGrpcClientWithPrePopulatedDatabase(t *testing.T) (connection.GrpcClient, CloseFunc)
func InitializeGrpcClientWithTLS ¶
func InitializeGrpcClientWithTLS(t *testing.T, environmentVariableOverrides map[string]string) (connection.GrpcClient, CloseFunc)
type Container ¶
type Container struct { Endpoint string Resource *dockertest.Resource }
Container ...
func InitializeContainerAndGrpcClient ¶
func InitializeContainerAndGrpcClient(t *testing.T, environmentVariableOverrides map[string]string) (*Container, connection.GrpcClient)
type EventStoreEnvironmentVariable ¶
type EventStoreEnvironmentVariable string
const ( EVENTSTORE_DOCKER_REPOSITORY_ENV EventStoreEnvironmentVariable = "EVENTSTORE_DOCKER_REPOSITORY" EVENTSTORE_DOCKER_TAG_ENV EventStoreEnvironmentVariable = "EVENTSTORE_DOCKER_TAG" EVENTSTORE_DOCKER_PORT_ENV EventStoreEnvironmentVariable = "EVENTSTORE_DOCKER_PORT" EVENTSTORE_MAX_APPEND_SIZE_IN_BYTES EventStoreEnvironmentVariable = "EVENTSTORE_MAX_APPEND_SIZE" )
Click to show internal directories.
Click to hide internal directories.