etcdtest

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package etcdtest provides test support for obtaining a client to an Etcd server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup()

func TestClient

func TestClient() *clientv3.Client

TestClient returns a client of the embeded Etcd test server. It asserts that the Etcd keyspace is empty (eg, that the prior test cleaned up after itself).

Types

This section is empty.

Jump to

Keyboard shortcuts

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