gocqlxtest

package
v2.0.0-...-c0d55de Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package gocqlxtest provides test helpers for integration tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCluster

func CreateCluster() *gocql.ClusterConfig

CreateCluster creates gocql ClusterConfig from flags.

func CreateKeyspace

func CreateKeyspace(cluster *gocql.ClusterConfig, keyspace string) error

CreateKeyspace creates keyspace with SimpleStrategy and RF derived from flags.

func CreateSession

func CreateSession(tb testing.TB) gocqlx.Session

CreateSession creates a new gocqlx session from flags.

Types

This section is empty.

Jump to

Keyboard shortcuts

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