flush

package
v0.0.0-...-e258176 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ingest

func Ingest(data unsafe.Pointer, size int, tag string, ctx *outctx.S3Context) (int, error)

Ingests Fluent Bit chunk, then sends to s3 in IR format. Data may be buffered on disk or in memory depending on plugin configuration.

Parameters:

  • data: Msgpack data
  • size: Byte length
  • tag: Fluent Bit tag
  • ctx: Plugin context

Returns:

  • code: Fluent Bit success code (OK, RETRY, ERROR)
  • err: Error if flush fails

Types

This section is empty.

Jump to

Keyboard shortcuts

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