worker

package
v0.0.0-...-8635785 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Storage storage.Config
	// Directory to write task files to
	WorkDir string
	// How often the worker sends task log updates
	UpdateRate time.Duration
	// Max `bytes` to store in-memory between updates
	BufferSize  units.MetricBytes
	Logger      logger.Config
	TaskReader  string
	TaskReaders struct {
		RPC struct {
			// RPC address of the Funnel server
			ServerAddress string
			// Password for basic auth. with the server APIs.
			ServerPassword string
		}
		Dynamo dynamo.Config
	}
	ActiveEventWriters []string
	EventWriters       struct {
		RPC struct {
			// RPC address of the Funnel server
			ServerAddress string
			// Password for basic auth. with the server APIs.
			ServerPassword string
			// Timeout duration for gRPC calls
			UpdateTimeout time.Duration
		}
		Dynamo dynamo.Config
	}
}

func DefaultConfig

func DefaultConfig() Config

Jump to

Keyboard shortcuts

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