testserver

package
v0.0.0-...-91f7c8f Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitTCPPortConnectable

func WaitTCPPortConnectable(address string, attempts int, sleepTime time.Duration) error

Types

type AggregationConfig

type AggregationConfig struct {
	Name              string
	Pattern           string
	XFilesFactor      float32
	AggregationMethod string
}

type Carbon

type Carbon struct {
	RootDir            string
	TCPListen          string
	ProtobufListen     string
	CarbonserverListen string
	Schemas            []SchemaConfig
	Aggregations       []AggregationConfig
	// contains filtered or unexported fields
}

func (*Carbon) CarbonConfigFilename

func (c *Carbon) CarbonConfigFilename() string

func (*Carbon) Kill

func (c *Carbon) Kill() error

func (*Carbon) Start

func (c *Carbon) Start() error

func (*Carbon) Wait

func (c *Carbon) Wait() error

type SchemaConfig

type SchemaConfig struct {
	Name       string
	Pattern    string
	Retentions string
}

Jump to

Keyboard shortcuts

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