configuration

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppSettings

type AppSettings struct{}

AppSettings is application level configuration.

type Container

type Container struct {
	// ApplicationSettings apply to the whole app.
	ApplicationSettings AppSettings `yaml:"app"`
	// SourceConfigs defines the behaviours of sinks/bridges.
	Pipeline []definitions.PipelineNode `yaml:"pipeline"`
}

Container wraps all subconfiguration

func FromBytes added in v0.0.2

func FromBytes(b []byte) (Container, error)

FromBytes will load a container from bytes.

func FromFile added in v0.0.2

func FromFile(s string) (Container, error)

FromFile will load a container from file.

Jump to

Keyboard shortcuts

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