task

package
v0.0.0-...-f877a04 Latest Latest
Warning

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

Go to latest
Published: May 31, 2019 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package task defines Measurement Kit tasks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartNdt7

func StartNdt7(ctx context.Context, config Config) <-chan model.Event

StartNdt7 starts a new ndt7 task.

func StartPsiphonTunnel

func StartPsiphonTunnel(ctx context.Context, config Config) <-chan model.Event

StartPsiphonTunnel starts a new psiphontunnel task

Types

type Config

type Config struct {
	// ConfigFilePath is the path to a task specific config file.
	ConfigFilePath string

	// IgnoreBouncerError indicates whether we should ignore bouncer errors.
	IgnoreBouncerError bool

	// Inputs is the list of inputs for the measurement task.
	Inputs []string

	// NoBouncer indicates whether we should not use the bouncer.
	NoBouncer bool

	// NoCollector indicates whether we should not use the collector.
	NoCollector bool

	// WorkDirPath is the working directory to use
	WorkDirPath string
}

Config contains the task settings.

Jump to

Keyboard shortcuts

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