integration

package
v0.0.0-...-78fb45d Latest Latest
Warning

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

Go to latest
Published: May 13, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service contains test discovery server components.

func NewService

func NewService(t *testing.T, etcdClientPort, etcdPeerPort, httpPort int) *Service

NewService creates a new service.

func (*Service) Start

func (sv *Service) Start(t *testing.T) <-chan error

Start starts etcd server and http listener.

func (*Service) Stop

func (sv *Service) Stop(t *testing.T)

Stop stops etcd server, removing the data directory, and http server.

Jump to

Keyboard shortcuts

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