Documentation
¶
Index ¶
- type File
- func (f *File) Close() error
- func (f *File) Init(ctx context.Context, name string, cfg map[string]any, opts ...outputs.Option) error
- func (f *File) String() string
- func (f *File) Update(ctx context.Context, cfgMap map[string]any) error
- func (f *File) UpdateProcessor(name string, pcfg map[string]any) error
- func (f *File) Validate(cfg map[string]any) error
- func (f *File) Write(ctx context.Context, rsp proto.Message, meta outputs.Meta)
- func (f *File) WriteEvent(ctx context.Context, ev *formatters.EventMsg)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
outputs.BaseOutput
// contains filtered or unexported fields
}
File //
func (*File) Init ¶
func (f *File) Init(ctx context.Context, name string, cfg map[string]any, opts ...outputs.Option) error
Init //
func (*File) UpdateProcessor ¶ added in v0.43.0
func (*File) WriteEvent ¶
func (f *File) WriteEvent(ctx context.Context, ev *formatters.EventMsg)
Click to show internal directories.
Click to hide internal directories.