manifest

package
v0.0.0-...-b9af62b Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifest

type Manifest struct {
	Targets     []sampler.Target
	StartDelays []float64
	Hash        string
}

Manifest represents configuration data.

func Get

func Get(url string, defaultInterval int) (manifest Manifest, err error)

Get retreives a manifest from a given URL.

func (*Manifest) GenerateRampupDelays

func (m *Manifest) GenerateRampupDelays(intervalSeconds int)

GenerateRampupDelays generates an even distribution of sensor start delays based on the passed number of interval seconds and the number of targets.

Jump to

Keyboard shortcuts

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