cassandra

package
v1.9.9 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 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 added in v1.6.4

type ContainerOpt func(*containerConfig)

func ContainerName added in v1.7.4

func ContainerName(name string) ContainerOpt

func CopyFromTo added in v1.6.4

func CopyFromTo(copyFromTo map[string]string) ContainerOpt

func Env added in v1.7.4

func Env(keyValue string) ContainerOpt

func Image added in v1.7.4

func Image(imageName string, version string) ContainerOpt

func SslOpts added in v1.6.4

func SslOpts(sslOpts *gocql.SslOptions) ContainerOpt

func Version added in v1.6.4

func Version(version string) ContainerOpt

type Host added in v1.6.4

type Host struct {
	Name string
	Port string
}

func PrepareTestContainer

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

func (Host) ConnectionURL added in v1.6.4

func (h Host) ConnectionURL() string

Jump to

Keyboard shortcuts

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