pipe

package
v0.0.0-...-b55e3b8 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(cfg *ConfigFileStruct) (*node.Start[[]byte], error)

Types

type ConfigFileStruct

type ConfigFileStruct struct {
	LogLevel   string       `yaml:"log-level,omitempty" json:"log-level,omitempty"`
	Parameters []StageParam `yaml:"parameters,omitempty" json:"parameters,omitempty"`
	Profile    *Profile     `yaml:"profile,omitempty" json:"profile,omitempty"`
	Health     *Health      `yaml:"health,omitempty" json:"health,omitempty"`
}

type Health

type Health struct {
	Port int `yaml:"port,omitempty" json:"port,omitempty"`
}

type Ingest

type Ingest struct {
	Type  string              `yaml:"type" json:"type"`
	Kafka *ingest.KafkaConfig `yaml:"kafka,omitempty" json:"kafka,omitempty"`
}

type Profile

type Profile struct {
	Port int
}

type StageParam

type StageParam struct {
	Name      string     `yaml:"name" json:"name"`
	Ingest    *Ingest    `yaml:"ingest,omitempty" json:"ingest,omitempty"`
	Transform *Transform `yaml:"transform,omitempty" json:"transform,omitempty"`
	Write     *Write     `yaml:"write,omitempty" json:"write,omitempty"`
}

type Transform

type Transform struct {
	Type    string                   `yaml:"type" json:"type"`
	Network *transform.NetworkConfig `yaml:"network,omitempty" json:"network,omitempty"`
}

type Write

type Write struct {
	Type string            `yaml:"type" json:"type"`
	Loki *write.LokiConfig `yaml:"loki,omitempty" json:"loki,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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