Documentation ¶
Index ¶
Constants ¶
View Source
const ( Info = "info" Minimal = "minimal" IncludeAny = "include-any" Stderr = "stderr" Stdout = "stdout" Terminal = "terminal" JSON = "json" Up = "up" Down = "down" File = "file" )
Variables ¶
This section is empty.
Functions ¶
func BuildSinkConfig ¶
func BuildSinkConfig(ops ...string) (*config.SinkConfig, error)
Types ¶
type Instruction ¶
type Instruction struct {
// contains filtered or unexported fields
}
Function to generate part of a tree of Sinks (e.g. append a single child node, or an entire subtree). Each Instruction takes a (sub)root, which it may modify, and appends further child sinks below that root. Returning the new subroot from which to apply any further Presets. When chained together in a pre-order instructions can be composed to form an entire Sink tree.
func Instructons ¶
func Instructons() []Instruction
func (Instruction) Description ¶
func (i Instruction) Description() string
func (Instruction) Name ¶
func (i Instruction) Name() string
Click to show internal directories.
Click to hide internal directories.