cassandra

package
v0.0.0-...-a0f6db5 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerOpt

type ContainerOpt func(*containerConfig)

func ContainerName

func ContainerName(name string) ContainerOpt

func CopyFromTo

func CopyFromTo(copyFromTo map[string]string) ContainerOpt

func Env

func Env(keyValue string) ContainerOpt

func Image

func Image(imageName string, version string) ContainerOpt

func SslOpts

func SslOpts(sslOpts *gocql.SslOptions) ContainerOpt

func Version

func Version(version string) ContainerOpt

type Host

type Host struct {
	Name string
	Port string
}

func PrepareTestContainer

func PrepareTestContainer(t *testing.T, opts ...ContainerOpt) (Host, func())

func (Host) ConnectionURL

func (h Host) ConnectionURL() string

Jump to

Keyboard shortcuts

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