tests

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EtcdResource

type EtcdResource struct {
	Cli *clientv3.Client
	// contains filtered or unexported fields
}

func NewEtcdResource

func NewEtcdResource(t *testing.T, server string) *EtcdResource

func (*EtcdResource) Cleanup

func (r *EtcdResource) Cleanup()

func (*EtcdResource) PutData

func (r *EtcdResource) PutData(path string, values []string) [][]string

func (*EtcdResource) RegisterPath

func (r *EtcdResource) RegisterPath(path string)

func (*EtcdResource) RegisterRandom

func (r *EtcdResource) RegisterRandom() string

Jump to

Keyboard shortcuts

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