Documentation
¶
Index ¶
- func NewGenericSink(name string, consumer func(ev audit.Event)) audit.Sink
- func NewLogSink(logger logging.Logger) audit.Sink
- func NewMetricSink() (sink audit.Sink, err error)
- func NewNoOpSink(name string) audit.Sink
- func NewWriterSink(name string, target audit.Writer, opts ...WriterSinkOption) audit.Sink
- type WriterSinkOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMetricSink ¶
func NewNoOpSink ¶
func NewWriterSink ¶
Types ¶
type WriterSinkOption ¶
type WriterSinkOption func(sink *writerCloserSink)
var WithCloseOnExit WriterSinkOption = func(sink *writerCloserSink) { sink.closeOnExit = true }
Click to show internal directories.
Click to hide internal directories.