utils

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2017 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package utils provides smaller and independent helper functions which are needed in various places throughout the code base.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestEnv

type TestEnv struct {
	Config      *config.Config
	TLSConfig   *tls.Config
	Addr        string
	DownDistr   chan struct{}
	DownWorker  chan struct{}
	DownStorage chan struct{}
	DoneDistr   chan struct{}
	DoneWorker  chan struct{}
	DoneStorage chan struct{}
}

TestEnv carries everything needed for a full grown test of pluto with multiple nodes.

func CreateTestEnv

func CreateTestEnv(configFilePath string) (*TestEnv, error)

CreateTestEnv initializes the needed environment for performing various tests against a potentially complete pluto setup.

Jump to

Keyboard shortcuts

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