etcdtest

package
v2.0.100+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2019 License: MIT Imports: 9 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