canary: Index | Files

package manifest

import ""


Package Files


type Manifest Uses

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

Manifest represents configuration data.

func Get Uses

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

Get retreives a manifest from a given URL.

func (*Manifest) GenerateRampupDelays Uses

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.

Package manifest imports 8 packages (graph) and is imported by 1 packages. Updated 2016-08-01. Refresh now. Tools for package owners.