config

package
v0.0.0-...-6eee6bf Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyConfig

func ApplyConfig(cfg *PipeConfig, builder *graph.Builder)

Types

type Connections

type Connections map[string][]string

Connections key: name of the source node. Value: array of destination nodes.

type PipeConfig

type PipeConfig struct {
	Http    []stage.Http     `hcl:"http,block"`
	StdOut  []stage.Stdout   `hcl:"stdout,block"`
	Deleter []stage.Deleter  `hcl:"deleter,block"`
	SysMon  []system.Monitor `hcl:"sysmon,block"`
	Connect Connections      `hcl:"connect"`
}

func ReadConfig

func ReadConfig(in io.Reader) (PipeConfig, error)

Jump to

Keyboard shortcuts

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