Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loki ¶
type Loki struct {
// contains filtered or unexported fields
}
Loki record writer
func NewWriteLoki ¶
func NewWriteLoki(opMetrics *operational.Metrics, params config.StageParam) (*Loki, error)
NewWriteLoki creates a Loki writer from configuration
func (*Loki) ProcessRecord ¶
func (l *Loki) ProcessRecord(in config.GenericMap) error
func (*Loki) Write ¶
func (l *Loki) Write(entry config.GenericMap)
Write writes a flow before being stored
type WriteFake ¶ added in v0.1.3
type WriteFake struct {
// contains filtered or unexported fields
}
func (*WriteFake) AllRecords ¶ added in v0.1.3
func (w *WriteFake) AllRecords() []config.GenericMap
func (*WriteFake) Write ¶ added in v0.1.3
func (w *WriteFake) Write(in config.GenericMap)
Write stores in memory all records.
type WriteNone ¶
type WriteNone struct {
// contains filtered or unexported fields
}
func (*WriteNone) PrevRecords ¶
func (t *WriteNone) PrevRecords() []config.GenericMap
type Writer ¶
type Writer interface {
Write(in config.GenericMap)
}
func NewWriteFake ¶ added in v0.1.3
func NewWriteFake(_ config.StageParam) (Writer, error)
NewWriteFake creates a new write.
func NewWriteStdout ¶
func NewWriteStdout(params config.StageParam) (Writer, error)
NewWriteStdout create a new write
Click to show internal directories.
Click to hide internal directories.