package
1.19.0
Repository: https://github.com/hashicorp/vault.git
Documentation: pkg.go.dev

# Functions

GenerateNodeID generates a new UUID that it casts to the eventlogger.NodeID type.
NewFileSink should be used to create a new FileSink.
NewID is a bit of a modified NewID has been done to stop a circular dependency with the errors package that is caused by importing boundary/internal/db.
NewMetricsCounter should be used to create the MetricsCounter.
NewNoopSink should be used to create a new NoopSink.
NewSocketSink should be used to create a new SocketSink.
NewStdoutSinkNode creates a new StdoutSink that will persist the events it processes using the specified expected format.
NewSyslogSink should be used to create a new SyslogSink.
ValidateOptions can be used to validate options before they are required.
WithFacility provides an Option to represent a 'facility' for a syslog sink.
WithFileMode provides an Option to represent a file mode for a file sink.
WithID provides an optional ID.
WithLogger provides an Option to supply a logger which will be used to write logs.
WithMaxDuration provides an Option to represent the max duration for writing to a socket.
WithNow provides an option to represent 'now'.
WithSocketType provides an Option to represent the socket type for a socket sink.
WithTag provides an Option to represent a 'tag' for a syslog sink.

# Constants

AuditType represents audit events.

# Variables

No description provided by the author

# Structs

FileSink is a sink node which handles writing events to file.
MetricsCounter offers a way for nodes to emit metrics which increment a label by 1.
NoopSink is a sink node which handles ignores everything.
SocketSink is a sink node which handles writing events to socket.
StdoutSink is structure that implements the eventlogger.Node interface as a Sink node that writes the events to the standard output stream.
SyslogSink is a sink node which handles writing events to syslog.

# Interfaces

Labeler provides a way to inject the logic required to determine labels based on the state of the eventlogger.Event being returned and the error resulting from processing the by the underlying eventlogger.Node.
PipelineReader surfaces information required for pipeline registration.

# Type aliases

EventType represents the event's type.
Option is how Options are passed as arguments.